다음을 통해 공유


BluetoothGattCallback.OnMtuChanged(BluetoothGatt, Int32, GattStatus) 메서드

정의

지정된 디바이스 연결에 대한 MTU가 변경되었음을 나타내는 콜백입니다.

[Android.Runtime.Register("onMtuChanged", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnMtuChanged_Landroid_bluetooth_BluetoothGatt_IIHandler")]
public virtual void OnMtuChanged (Android.Bluetooth.BluetoothGatt? gatt, int mtu, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onMtuChanged", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnMtuChanged_Landroid_bluetooth_BluetoothGatt_IIHandler")>]
abstract member OnMtuChanged : Android.Bluetooth.BluetoothGatt * int * Android.Bluetooth.GattStatus -> unit
override this.OnMtuChanged : Android.Bluetooth.BluetoothGatt * int * Android.Bluetooth.GattStatus -> unit

매개 변수

gatt
BluetoothGatt

GATT 클라이언트가 호출됨 BluetoothGatt#requestMtu

mtu
Int32

새 MTU 크기

status
GattStatus

BluetoothGatt#GATT_SUCCESS MTU가 성공적으로 변경된 경우

특성

설명

에 대한 android.bluetooth.BluetoothGattCallback.onMtuChanged(android.bluetooth.BluetoothGatt, int, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상