WifiP2pGroup.GroupOwnerBssid Property

Definition

Returns the BSSID, if this device is the group owner of the P2P group supporting Wi-Fi Direct R2 protocol.

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

Property Value

the BSSID.

Attributes

Remarks

Returns the BSSID, if this device is the group owner of the P2P group supporting Wi-Fi Direct R2 protocol.

The interface address of a Wi-Fi Direct R2 supported device is randomized. So for every group owner session a randomized interface address will be returned.

The BSSID returned will be null, if this device is a client device or a group owner which doesn't support Wi-Fi Direct R2 protocol.

Java documentation for android.net.wifi.p2p.WifiP2pGroup.getGroupOwnerBssid().

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