Share via


L2capNetworkSpecifier.RemoteAddress Property

Definition

Returns the remote MAC address for this network to connect to.

public Android.Net.MacAddress? RemoteAddress { [Android.Runtime.Register("getRemoteAddress", "()Landroid/net/MacAddress;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getRemoteAddress", "()Landroid/net/MacAddress;", "", ApiSince=36)>]
member this.RemoteAddress : Android.Net.MacAddress

Property Value

Attributes

Remarks

Returns the remote MAC address for this network to connect to.

The remote address is only meaningful for networks that have ROLE_CLIENT.

When receiving this L2capNetworkSpecifier from Connectivity APIs such as a ConnectivityManager.NetworkCallback, the MAC address is redacted.

Java documentation for android.net.L2capNetworkSpecifier.getRemoteAddress().

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