ScanResult.InformationElement 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ScanResult.InformationElement(ScanResult+InformationElement) | |
| ScanResult.InformationElement(IntPtr, JniHandleOwnership) |
建立一個受管理實例,代表一個現有的 Java 物件。 |
| ScanResult.InformationElement(Int32, Int32, Byte[]) |
從信標中構造資訊元素。 |
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
參數
- 屬性
適用於
ScanResult.InformationElement(IntPtr, JniHandleOwnership)
建立一個受管理實例,代表一個現有的 Java 物件。
protected InformationElement(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Wifi.ScanResult.InformationElement : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Wifi.ScanResult.InformationElement
參數
- javaReference
-
IntPtr
nativeint
JNI 對 Java 物件的參考。
- transfer
- JniHandleOwnership
說明JNI參考的所有權是否轉移至此實例。
備註
執行時會呼叫此建構子來建立現有 Java 物件的受管理表示。
適用於
ScanResult.InformationElement(Int32, Int32, Byte[])
從信標中構造資訊元素。
[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
參數
- id
- Int32
元素識別碼
- idExt
- Int32
元素 ID 擴充
- bytes
- Byte[]
資訊元素的主體可能包含多個元素
- 屬性
備註
從信標中構造資訊元素。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。