MembershipKey.Block(InetAddress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Block multicast datagrams from the given source address.
[Android.Runtime.Register("block", "(Ljava/net/InetAddress;)Ljava/nio/channels/MembershipKey;", "GetBlock_Ljava_net_InetAddress_Handler", ApiSince=26)]
public abstract Java.Nio.Channels.MembershipKey? Block (Java.Net.InetAddress? source);
[<Android.Runtime.Register("block", "(Ljava/net/InetAddress;)Ljava/nio/channels/MembershipKey;", "GetBlock_Ljava_net_InetAddress_Handler", ApiSince=26)>]
abstract member Block : Java.Net.InetAddress -> Java.Nio.Channels.MembershipKey
Parameters
- source
- InetAddress
The source address to block
Returns
This membership key
- Attributes
Remarks
Java documentation for java.nio.channels.MembershipKey.block(java.net.InetAddress).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.