Freigeben über


MembershipKey.NetworkInterface Method

Definition

Returns the network interface for which this membership key was created.

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

Returns

the network interface

Attributes

Remarks

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

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

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