WifiP2pDirInfo(MacAddress, Byte[], Byte[]) Constructor

Definition

Constructor for Device Identity Resolution (DIR) Info generated based on the 128 bit Device Identity key.

[Android.Runtime.Register(".ctor", "(Landroid/net/MacAddress;[B[B)V", "", ApiSince=36)]
public WifiP2pDirInfo(Android.Net.MacAddress macAddress, byte[] nonce, byte[] dirTag);
[<Android.Runtime.Register(".ctor", "(Landroid/net/MacAddress;[B[B)V", "", ApiSince=36)>]
new Android.Net.Wifi.P2p.WifiP2pDirInfo : Android.Net.MacAddress * byte[] * byte[] -> Android.Net.Wifi.P2p.WifiP2pDirInfo

Parameters

macAddress
MacAddress

The MAC address of the P2P device interface.

nonce
Byte[]

Random number of 8 octets.

dirTag
Byte[]

Resolvable identity value of 8 octets derived based on the device MAC address, device identity key and P2P device MAC address. Tag = Truncate-64(HMAC-SHA-256(DevIk, "DIR" || P2P Device Address || Nonce))

Attributes

Remarks

Constructor for Device Identity Resolution (DIR) Info generated based on the 128 bit Device Identity key. For details, refer Wi-Fi Alliance Wi-Fi Direct R2 specification Table 8.

Java documentation for android.net.wifi.p2p.WifiP2pDirInfo.WifiP2pDirInfo(android.net.MacAddress, byte[], byte[]).

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