BluetoothGattServerCallback.OnPhyUpdate メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
BluetoothGattServer#setPreferredPhyの結果として、またはリモート デバイスが PHY を変更した結果としてトリガーされるコールバック。
[Android.Runtime.Register("onPhyUpdate", "(Landroid/bluetooth/BluetoothDevice;III)V", "GetOnPhyUpdate_Landroid_bluetooth_BluetoothDevice_IIIHandler", ApiSince=26)]
public virtual void OnPhyUpdate(Android.Bluetooth.BluetoothDevice? device, Android.Bluetooth.LE.ScanSettingsPhy txPhy, Android.Bluetooth.LE.ScanSettingsPhy rxPhy, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onPhyUpdate", "(Landroid/bluetooth/BluetoothDevice;III)V", "GetOnPhyUpdate_Landroid_bluetooth_BluetoothDevice_IIIHandler", ApiSince=26)>]
abstract member OnPhyUpdate : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
override this.OnPhyUpdate : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
パラメーター
- device
- BluetoothDevice
リモート デバイス
- txPhy
- ScanSettingsPhy
使用している送信機 PHY。
BluetoothDevice#PHY_LE_1M、BluetoothDevice#PHY_LE_2M、およびBluetoothDevice#PHY_LE_CODED
- rxPhy
- ScanSettingsPhy
受信側 PHY を使用します。
BluetoothDevice#PHY_LE_1M、BluetoothDevice#PHY_LE_2M、およびBluetoothDevice#PHY_LE_CODED
- status
- GattStatus
PHY 更新操作の状態。
BluetoothGatt#GATT_SUCCESS 操作が成功した場合は 。
- 属性
注釈
BluetoothGattServer#setPreferredPhyの結果として、またはリモート デバイスが PHY を変更した結果としてトリガーされるコールバック。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。