言語

BluetoothGattServerCallback.OnConnectionUpdated メソッド

定義

接続パラメーターが更新されたことを示すコールバック。

[Android.Runtime.Register("onConnectionUpdated", "(Landroid/bluetooth/BluetoothDevice;IIII)V", "GetOnConnectionUpdated_Landroid_bluetooth_BluetoothDevice_IIIIHandler", ApiSince=37)]
public virtual void OnConnectionUpdated(Android.Bluetooth.BluetoothDevice device, int interval, int latency, int supervisionTimeout, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onConnectionUpdated", "(Landroid/bluetooth/BluetoothDevice;IIII)V", "GetOnConnectionUpdated_Landroid_bluetooth_BluetoothDevice_IIIIHandler", ApiSince=37)>]
abstract member OnConnectionUpdated : Android.Bluetooth.BluetoothDevice * int * int * int * Android.Bluetooth.GattStatus -> unit
override this.OnConnectionUpdated : Android.Bluetooth.BluetoothDevice * int * int * int * Android.Bluetooth.GattStatus -> unit

パラメーター

device
BluetoothDevice

関連するリモート デバイス

interval
Int32

この接続で使用される接続間隔 (1.25 ミリ秒単位)。 有効な範囲は 6 (7.5 ミリ秒) から 3200 (4000 ミリ秒) です。

latency
Int32

接続イベントの数での接続のワーカー待機時間。 有効な範囲は 0 ~ 499 です

supervisionTimeout
Int32

この接続の監督タイムアウト (10 ミリ秒単位)。 有効な範囲は 10 (0.1s) から 3200 (32s) です

status
GattStatus

BluetoothGatt#GATT_SUCCESS 接続が正常に更新された場合

属性

適用対象