MembershipKey.SourceAddress Method

Definition

Returns the source address if this membership key is source-specific, or null if this membership is not source-specific.

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

Returns

The source address if this membership key is source-specific, otherwise null

Attributes

Remarks

Returns the source address if this membership key is source-specific, or null if this membership is not source-specific.

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

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