언어

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

이 LE 연결의 경우

status
Int32

BluetoothGatt#GATT_SUCCESS 연결 구독이 성공적으로 업데이트된 경우

특성

설명

LE 연결의 하위 전송률 매개 변수가 변경되었음을 나타내는 콜백입니다.

에 대한 android.bluetooth.BluetoothGattServerCallback.onSubrateChange(android.bluetooth.BluetoothDevice, int, int)Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상