WifiAwareManager.CreateTxtRecordTlvBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依照 Wi-Fi Aware 規範 4.0 表 150,建立包含 TXT 記錄的 TLV 緩衝區。
[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[]
參數
- txtRecord
- IDictionary<String,String>
TXT 記錄鍵值對的映射,格式依 於 http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt。
傳回
Byte[]
包含 TXT 記錄的 TLV 緩衝區。
- 屬性
備註
依照 Wi-Fi Aware 規範 4.0 表 150,建立包含 TXT 記錄的 TLV 緩衝區。
Android 參考資料。android.net.wifi.aware.WifiAwareManager.createTxtRecordTlvBuffer
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。