Lingua

BluetoothGattServerCallback.OnPhyRead Metodo

Definizione

Callback attivato come risultato di 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

Parametri

device
BluetoothDevice

Dispositivo remoto che ha richiesto la lettura PHY.

txPhy
ScanSettingsPhy

il trasmettitore PHY in uso.

rxPhy
ScanSettingsPhy

il ricevitore PHY in uso.

status
GattStatus

Stato dell'operazione di lettura PHY. BluetoothGatt#GATT_SUCCESS se l'operazione ha esito positivo.

Attributi

Commenti

Callback attivato come risultato di BluetoothGattServer#readPhy

per android.bluetooth.BluetoothGattServerCallback.onPhyRead(android.bluetooth.BluetoothDevice, int, int, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a