BluetoothGattServerCallback.OnMtuChanged(BluetoothDevice, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Rappel indiquant que le MTU d’une connexion d’appareil donnée a changé.
[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
Paramètres
- device
- BluetoothDevice
Appareil distant qui a demandé la modification MTU
- mtu
- Int32
Nouvelle taille MTU
- Attributs
Remarques
Rappel indiquant que le MTU d’une connexion d’appareil donnée a changé.
Ce rappel est appelé si un client distant a demandé de modifier le MTU pour une connexion donnée.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.