BluetoothGattCallback.OnPhyRead Metode

Definisi

Panggilan balik dipicu sebagai akibat dari 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

Klien GATT

txPhy
ScanSettingsPhy

PHY pemancar yang digunakan. Salah satu dari BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2M, dan BluetoothDevice#PHY_LE_CODED.

rxPhy
ScanSettingsPhy

PHY penerima yang digunakan. Salah satu dari BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2M, dan BluetoothDevice#PHY_LE_CODED.

status
GattStatus

Status operasi baca PHY. BluetoothGatt#GATT_SUCCESS jika operasi berhasil.

Atribut

Keterangan

Panggilan balik dipicu sebagai akibat dari BluetoothGatt#readPhy

Java dokumentasi untuk android.bluetooth.BluetoothGattCallback.onPhyRead(android.bluetooth.BluetoothGatt, int, int, int).

Bagian dari halaman ini adalah modifikasi berdasarkan pekerjaan yang dibuat dan dibagikan oleh Android Open Source Project dan digunakan sesuai dengan istilah yang dijelaskan dalam Lisensi Creative Commons 2.5 Lisensi Atribusi.

Berlaku untuk