Language

ScanResult コンストラクター

定義

オーバーロード

ScanResult(BluetoothDevice, ScanRecord, Int32, Int64)

新しい ScanResult を構築します。

[Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/le/ScanRecord;IJ)V", "")]
public ScanResult(Android.Bluetooth.BluetoothDevice? device, Android.Bluetooth.LE.ScanRecord? scanRecord, int rssi, long timestampNanos);
[<Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/le/ScanRecord;IJ)V", "")>]
new Android.Bluetooth.LE.ScanResult : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.LE.ScanRecord * int * int64 -> Android.Bluetooth.LE.ScanResult

パラメーター

device
BluetoothDevice

リモート Bluetooth デバイスが見つかりました。

scanRecord
ScanRecord

広告データとスキャン応答データの両方を含むスキャン レコード。

rssi
Int32

受信信号強度。

timestampNanos
Int64

スキャン結果が観察されたタイムスタンプ。

属性

注釈

新しい ScanResult を構築します。

このメンバーは非推奨です。 use #ScanResult(BluetoothDevice, int, int, int, int, int, int, int, ScanRecord, long)

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

ScanResult(BluetoothDevice, Int32, ScanSettingsPhy, ScanSettingsPhy, Int32, AdvertiseTxPower, Int32, Int32, ScanRecord, Int64)

新しい ScanResult を構築します。

[Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothDevice;IIIIIIILandroid/bluetooth/le/ScanRecord;J)V", "", ApiSince=26)]
public ScanResult(Android.Bluetooth.BluetoothDevice? device, int eventType, Android.Bluetooth.LE.ScanSettingsPhy primaryPhy, Android.Bluetooth.LE.ScanSettingsPhy secondaryPhy, int advertisingSid, Android.Bluetooth.LE.AdvertiseTxPower txPower, int rssi, int periodicAdvertisingInterval, Android.Bluetooth.LE.ScanRecord? scanRecord, long timestampNanos);
[<Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothDevice;IIIIIIILandroid/bluetooth/le/ScanRecord;J)V", "", ApiSince=26)>]
new Android.Bluetooth.LE.ScanResult : Android.Bluetooth.BluetoothDevice * int * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * int * Android.Bluetooth.LE.AdvertiseTxPower * int * int * Android.Bluetooth.LE.ScanRecord * int64 -> Android.Bluetooth.LE.ScanResult

パラメーター

device
BluetoothDevice

リモート Bluetooth デバイスが見つかりました。

eventType
Int32

イベントの種類。

primaryPhy
ScanSettingsPhy

主な広告の体格。

secondaryPhy
ScanSettingsPhy

セカンダリ広告の理.

advertisingSid
Int32

広告セット ID。

txPower
AdvertiseTxPower

送信電力。

rssi
Int32

受信信号強度。

periodicAdvertisingInterval
Int32

定期的な広告間隔。

scanRecord
ScanRecord

広告データとスキャン応答データの両方を含むスキャン レコード。

timestampNanos
Int64

スキャン結果が観察されたタイムスタンプ。

属性

注釈

新しい ScanResult を構築します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象