語言

ScanSettings.ScanTypeActive 欄位

定義

警告

This constant will be removed in the future version. Use Android.Bluetooth.LE.ScanType enum directly instead of this field.

是否進行主動掃描,掃描結果會在掃描回應抵達時傳送。

[Android.Runtime.Register("SCAN_TYPE_ACTIVE", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.LE.ScanType enum directly instead of this field.", true)]
public const Android.Bluetooth.LE.ScanType ScanTypeActive = 2;
[<Android.Runtime.Register("SCAN_TYPE_ACTIVE", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.LE.ScanType enum directly instead of this field.", true)>]
val mutable ScanTypeActive : Android.Bluetooth.LE.ScanType

欄位值

Value = 2

實作

屬性

備註

是否進行主動掃描,掃描結果會在掃描回應抵達時傳送。

的 android.bluetooth.le.ScanSettings.SCAN_TYPE_ACTIVEJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於