WifiAwareManager.CreateTxtRecordTlvBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create the TLV buffer containing the TXT record as per the Wi-Fi Aware specifications 4.
[Android.Runtime.Register("createTxtRecordTlvBuffer", "(Ljava/util/Map;)[B", "", ApiSince=37)]
public static byte[] CreateTxtRecordTlvBuffer(System.Collections.Generic.IDictionary<string,string> txtRecord);
[<Android.Runtime.Register("createTxtRecordTlvBuffer", "(Ljava/util/Map;)[B", "", ApiSince=37)>]
static member CreateTxtRecordTlvBuffer : System.Collections.Generic.IDictionary<string, string> -> byte[]
Parameters
- txtRecord
- IDictionary<String,String>
txtMap TXT record with key/value pair in a map confirming to format defined at http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt.
Returns
The TLV buffer containing the TXT record.
- Attributes
Remarks
Create the TLV buffer containing the TXT record as per the Wi-Fi Aware specifications 4.0 Table 150.
Android reference for android.net.wifi.aware.WifiAwareManager.createTxtRecordTlvBuffer.
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.