语言

BluetoothGatt.ReadPhy 方法

定义

读取连接的当前发射机 PHY 和接收器 PHY。

[Android.Runtime.Register("readPhy", "()V", "", ApiSince=26)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public void ReadPhy();
[<Android.Runtime.Register("readPhy", "()V", "", ApiSince=26)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ReadPhy : unit -> unit
特性

注解

读取连接的当前发射机 PHY 和接收器 PHY。 值在 BluetoothGattCallback#onPhyRead

Java文档android.bluetooth.BluetoothGatt.readPhy()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于