다음을 통해 공유


WifiInfo.ApMldMacAddress Property

Definition

Return the Multi-Link Device (MLD) MAC Address for the connected access point.

public virtual Android.Net.MacAddress? ApMldMacAddress { [Android.Runtime.Register("getApMldMacAddress", "()Landroid/net/MacAddress;", "GetGetApMldMacAddressHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getApMldMacAddress", "()Landroid/net/MacAddress;", "GetGetApMldMacAddressHandler", ApiSince=33)>]
member this.ApMldMacAddress : Android.Net.MacAddress

Property Value

the MLD Mac address

Attributes

Remarks

Return the Multi-Link Device (MLD) MAC Address for the connected access point.

The returned MLD MAC Address will be null in the following cases: <lt>There is no network currently connected</lt> <lt>The connected access point is not an MLD access point, i.e. #getWifiStandard() returns ScanResult#WIFI_STANDARD_11BE.</lt> <lt>The caller has insufficient permissions to access the access point MLD MAC Address.<lt>

Java documentation for android.net.wifi.WifiInfo.getApMldMacAddress().

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