BluetoothGattServerCallback.OnPhyRead 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由于以下原因触发的回调 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
参数
- device
- BluetoothDevice
请求 PHY 读取的远程设备。
- txPhy
- ScanSettingsPhy
正在使用的发射器 PHY。
- rxPhy
- ScanSettingsPhy
正在使用的接收器 PHY。
- status
- GattStatus
PHY 读取操作的状态。
BluetoothGatt#GATT_SUCCESS 如果操作成功,则为
- 特性
注解
由于以下原因触发的回调 BluetoothGattServer#readPhy
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。