BluetoothGattCallback.OnPhyRead Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
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.