BluetoothGattServerCallback.OnPhyRead 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 déclenché à la suite de BluetoothGattServer#readPhy
[Android.Runtime.Register("onPhyRead", "(Landroid/bluetooth/BluetoothDevice;III)V", "GetOnPhyRead_Landroid_bluetooth_BluetoothDevice_IIIHandler", ApiSince=26)]
public virtual void OnPhyRead(Android.Bluetooth.BluetoothDevice? device, Android.Bluetooth.LE.ScanSettingsPhy txPhy, Android.Bluetooth.LE.ScanSettingsPhy rxPhy, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onPhyRead", "(Landroid/bluetooth/BluetoothDevice;III)V", "GetOnPhyRead_Landroid_bluetooth_BluetoothDevice_IIIHandler", ApiSince=26)>]
abstract member OnPhyRead : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
override this.OnPhyRead : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
Paramètres
- device
- BluetoothDevice
Appareil distant qui a demandé la lecture PHY
- txPhy
- ScanSettingsPhy
l’émetteur PHY en cours d’utilisation. Un des BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Met BluetoothDevice#PHY_LE_CODED
- rxPhy
- ScanSettingsPhy
le récepteur PHY en cours d’utilisation. Un des BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Met BluetoothDevice#PHY_LE_CODED
- status
- GattStatus
État de l’opération de lecture PHY.
BluetoothGatt#GATT_SUCCESS si l’opération réussit.
- Attributs
Remarques
Rappel déclenché à la suite de BluetoothGattServer#readPhy
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.