Lenguaje

WifiAwareManager.CreateTxtRecordTlvBuffer Método

Definición

Cree el búfer TLV que contiene el registro TXT según las especificaciones 4 de Wi-Fi compatibles.

[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[]

Parámetros

txtRecord
IDictionary<String,String>

txtMap Registro TXT con par clave-valor en una asignación que confirma el formato definido en http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt.

Devoluciones

Byte[]

Búfer TLV que contiene el registro TXT.

Atributos

Comentarios

Cree el búfer TLV que contiene el registro TXT según las especificaciones de Wi-Fi 4.0 Tabla 150.

Referencia de Android para android.net.wifi.aware.WifiAwareManager.createTxtRecordTlvBuffer.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a