次の方法で共有


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 が正常に変更された場合

属性

注釈

の Java ドキュメントandroid.bluetooth.BluetoothGattCallback.onMtuChanged(android.bluetooth.BluetoothGatt, int, int)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象