Langue

ScanResult.InformationElement Constructeurs

Définition

Surcharges

Nom Description
ScanResult.InformationElement(ScanResult+InformationElement)
ScanResult.InformationElement(IntPtr, JniHandleOwnership)

Crée une instance managée qui représente un objet Java existant.

ScanResult.InformationElement(Int32, Int32, Byte[])

Construit InformationElements à partir d’un beacon.

ScanResult.InformationElement(ScanResult+InformationElement)

[Android.Runtime.Register(".ctor", "(Landroid/net/wifi/ScanResult$InformationElement;)V", "", ApiSince=30)]
public InformationElement(Android.Net.Wifi.ScanResult.InformationElement rhs);
[<Android.Runtime.Register(".ctor", "(Landroid/net/wifi/ScanResult$InformationElement;)V", "", ApiSince=30)>]
new Android.Net.Wifi.ScanResult.InformationElement : Android.Net.Wifi.ScanResult.InformationElement -> Android.Net.Wifi.ScanResult.InformationElement

Paramètres

Attributs

S’applique à

ScanResult.InformationElement(IntPtr, JniHandleOwnership)

Crée une instance managée qui représente un objet Java existant.

protected InformationElement(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Wifi.ScanResult.InformationElement : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Wifi.ScanResult.InformationElement

Paramètres

javaReference
IntPtr

nativeint

Référence JNI à l’objet Java.

transfer
JniHandleOwnership

Spécifie si la propriété de la référence JNI transfère à cette instance.

Remarques

Le runtime appelle ce constructeur pour créer une représentation managée d’un objet Java existant.

S’applique à

ScanResult.InformationElement(Int32, Int32, Byte[])

Construit InformationElements à partir d’un beacon.

[Android.Runtime.Register(".ctor", "(II[B)V", "", ApiSince=33)]
public InformationElement(int id, int idExt, byte[] bytes);
[<Android.Runtime.Register(".ctor", "(II[B)V", "", ApiSince=33)>]
new Android.Net.Wifi.ScanResult.InformationElement : int * int * byte[] -> Android.Net.Wifi.ScanResult.InformationElement

Paramètres

id
Int32

ID d’élément

idExt
Int32

extension d’ID d’élément

bytes
Byte[]

le corps de l’élément d’informations, peut contenir plusieurs éléments

Attributs

Remarques

Construit InformationElements à partir d’un beacon.

Java documentation pour android.net.wifi.ScanResult.InformationElement.ScanResult$InformationElement(int, int, byte[]).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à