Language

ScanResult.InformationElement Constructors

Definition

Overloads

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

Creates a managed instance that represents an existing Java object.

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

Constructs InformationElements from 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

Parameters

Attributes

Applies to

ScanResult.InformationElement(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

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

Constructs InformationElements from 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

Parameters

id
Int32

element id

idExt
Int32

element id extension

bytes
Byte[]

the body of the information element, may contain multiple elements

Attributes

Remarks

Constructs InformationElements from beacon.

Java documentation for android.net.wifi.ScanResult.InformationElement.ScanResult$InformationElement(int, int, 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