Share via


MembershipKey.Group Method

Definition

Returns the multicast group for which this membership key was created.

[Android.Runtime.Register("group", "()Ljava/net/InetAddress;", "GetGroupHandler", ApiSince=26)]
public abstract Java.Net.InetAddress? Group ();
[<Android.Runtime.Register("group", "()Ljava/net/InetAddress;", "GetGroupHandler", ApiSince=26)>]
abstract member Group : unit -> Java.Net.InetAddress

Returns

the multicast group

Attributes

Remarks

Returns the multicast group for which this membership key was created. This method will continue to return the group even after the membership becomes #isValid invalid.

Java documentation for java.nio.channels.MembershipKey.group().

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