BluetoothGattServerCallback.OnConnectionUpdated 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
연결 매개 변수가 업데이트되었음을 나타내는 콜백입니다.
[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.25ms 단위에 사용되는 연결 간격입니다. 유효한 범위는 6(7.5ms)에서 3200(4000ms)입니다.
- latency
- Int32
연결 이벤트의 수에서 연결에 대한 작업자 대기 시간입니다. 유효한 범위는 0에서 499까지입니다.
- supervisionTimeout
- Int32
이 연결에 대한 감독 시간 제한(10ms 단위)입니다. 유효한 범위는 10(0.1s)에서 3200(32s)입니다.
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS 연결이 성공적으로 업데이트된 경우
- 특성