語言

BluetoothGattServerCallback.OnSubrateChange 方法

定義

回撥顯示 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

因為這個執法部門的連結。

status
Int32

BluetoothGatt#GATT_SUCCESS 如果連線子評定已成功更新

屬性

備註

回撥顯示 LE 連線子速率參數已更改。

的 android.bluetooth.BluetoothGattServerCallback.onSubrateChange(android.bluetooth.BluetoothDevice, int, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於