Share via


WifiInfo.BSSID Property

Definition

Return the basic service set identifier (BSSID) of the current access point.

public virtual string? BSSID { [Android.Runtime.Register("getBSSID", "()Ljava/lang/String;", "GetGetBSSIDHandler")] get; }
[<get: Android.Runtime.Register("getBSSID", "()Ljava/lang/String;", "GetGetBSSIDHandler")>]
member this.BSSID : string

Property Value

the BSSID, in the form of a six-byte MAC address: XX:XX:XX:XX:XX:XX

Attributes

Remarks

Return the basic service set identifier (BSSID) of the current access point. In case of Multi Link Operation (MLO), the BSSID corresponds to the BSSID of the link used for association.

The BSSID may be <lt>null, if there is no network currently connected.</lt> <lt>"02:00:00:00:00:00", if the caller has insufficient permissions to access the BSSID.<lt>

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

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