BluetoothGattServerCallback.OnPhyRead Método

Definição

Retorno de chamada disparado 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

O dispositivo remoto que solicitou a leitura PHY

txPhy
ScanSettingsPhy

o PHY do transmissor em uso. Um de BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Me BluetoothDevice#PHY_LE_CODED

rxPhy
ScanSettingsPhy

o PHY do receptor em uso. Um de BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Me BluetoothDevice#PHY_LE_CODED

status
GattStatus

Status da operação de leitura PHY. BluetoothGatt#GATT_SUCCESS se a operação for bem-sucedida.

Atributos

Comentários

Retorno de chamada disparado como resultado de BluetoothGattServer#readPhy

Java documentação para android.bluetooth.BluetoothGattServerCallback.onPhyRead(android.bluetooth.BluetoothDevice, int, int, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a