MembershipKey.Block(InetAddress) Method

Definition

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

MembershipKey

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.

Applies to