Sprache

BluetoothGattCallback.OnPhyRead Methode

Definition

Rückruf ausgelöst als Ergebnis von BluetoothGatt#readPhy

[Android.Runtime.Register("onPhyRead", "(Landroid/bluetooth/BluetoothGatt;III)V", "GetOnPhyRead_Landroid_bluetooth_BluetoothGatt_IIIHandler", ApiSince=26)]
public virtual void OnPhyRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.LE.ScanSettingsPhy txPhy, Android.Bluetooth.LE.ScanSettingsPhy rxPhy, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onPhyRead", "(Landroid/bluetooth/BluetoothGatt;III)V", "GetOnPhyRead_Landroid_bluetooth_BluetoothGatt_IIIHandler", ApiSince=26)>]
abstract member OnPhyRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
override this.OnPhyRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit

Parameter

gatt
BluetoothGatt

GATT-Client

txPhy
ScanSettingsPhy

der sender PHY in Gebrauch. Einer von BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2M, und BluetoothDevice#PHY_LE_CODED.

rxPhy
ScanSettingsPhy

der zu verwendenden Empfänger-PHY. Einer von BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2M, und BluetoothDevice#PHY_LE_CODED.

status
GattStatus

Status des PHY-Lesevorgangs. BluetoothGatt#GATT_SUCCESS wenn der Vorgang erfolgreich ist.

Attribute

Hinweise

Rückruf ausgelöst als Ergebnis von BluetoothGatt#readPhy

Java Dokumentation für android.bluetooth.BluetoothGattCallback.onPhyRead(android.bluetooth.BluetoothGatt, int, int, int).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: