BluetoothGattServerCallback.OnMtuChanged(BluetoothDevice, Int32) メソッド

定義

特定のデバイス接続の MTU を示すコールバックが変更されました。

[Android.Runtime.Register("onMtuChanged", "(Landroid/bluetooth/BluetoothDevice;I)V", "GetOnMtuChanged_Landroid_bluetooth_BluetoothDevice_IHandler", ApiSince=22)]
public virtual void OnMtuChanged(Android.Bluetooth.BluetoothDevice? device, int mtu);
[<Android.Runtime.Register("onMtuChanged", "(Landroid/bluetooth/BluetoothDevice;I)V", "GetOnMtuChanged_Landroid_bluetooth_BluetoothDevice_IHandler", ApiSince=22)>]
abstract member OnMtuChanged : Android.Bluetooth.BluetoothDevice * int -> unit
override this.OnMtuChanged : Android.Bluetooth.BluetoothDevice * int -> unit

パラメーター

device
BluetoothDevice

MTU の変更を要求したリモート デバイス

mtu
Int32

新しい MTU サイズ

属性

注釈

特定のデバイス接続の MTU を示すコールバックが変更されました。

このコールバックは、リモート クライアントが特定の接続の MTU の変更を要求した場合に呼び出されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象