BluetoothGattServerCallback.OnSubrateChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示 LE 连接的子速率参数已更改的回调。
[Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothDevice;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothDevice_IIHandler", ApiSince=36)]
public virtual void OnSubrateChange(Android.Bluetooth.BluetoothDevice device, int subrateMode, int status);
[<Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothDevice;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothDevice_IIHandler", ApiSince=36)>]
abstract member OnSubrateChange : Android.Bluetooth.BluetoothDevice * int * int -> unit
override this.OnSubrateChange : Android.Bluetooth.BluetoothDevice * int * int -> unit
参数
- device
- BluetoothDevice
涉及的远程设备
- subrateMode
- Int32
LE 连接的子速率模式,作为整数值 GattSubrateMode。
- 特性
注解
指示 LE 连接的子速率参数已更改的回调。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。