Lenguaje

BluetoothGattServerCallback.OnPhyRead Método

Definición

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

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

Parámetros

device
BluetoothDevice

Dispositivo remoto que solicitó la lectura de PHY.

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 BluetoothGattServer#readPhy

Java documentación para android.bluetooth.BluetoothGattServerCallback.onPhyRead(android.bluetooth.BluetoothDevice, 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