Lenguaje

BluetoothGattCallback.OnPhyRead Método

Definición

Devolución de llamada desencadenada como resultado de 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

Parámetros

gatt
BluetoothGatt

Cliente GATT

txPhy
ScanSettingsPhy

el transmisor PHY en uso.

rxPhy
ScanSettingsPhy

el receptor PHY en uso.

status
GattStatus

Estado de la operación de lectura PHY. BluetoothGatt#GATT_SUCCESS si la operación se realiza correctamente.

Atributos

Comentarios

Devolución de llamada desencadenada como resultado de BluetoothGatt#readPhy

Java documentación para android.bluetooth.BluetoothGattCallback.onPhyRead(android.bluetooth.BluetoothGatt, int, int, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a