BluetoothGattCallback.OnPhyUpdate メソッド

定義

BluetoothGatt#setPreferredPhyの結果として、またはリモート デバイスが PHY を変更した結果としてトリガーされるコールバック。

[Android.Runtime.Register("onPhyUpdate", "(Landroid/bluetooth/BluetoothGatt;III)V", "GetOnPhyUpdate_Landroid_bluetooth_BluetoothGatt_IIIHandler", ApiSince=26)]
public virtual void OnPhyUpdate(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.LE.ScanSettingsPhy txPhy, Android.Bluetooth.LE.ScanSettingsPhy rxPhy, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onPhyUpdate", "(Landroid/bluetooth/BluetoothGatt;III)V", "GetOnPhyUpdate_Landroid_bluetooth_BluetoothGatt_IIIHandler", ApiSince=26)>]
abstract member OnPhyUpdate : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit
override this.OnPhyUpdate : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.LE.ScanSettingsPhy * Android.Bluetooth.GattStatus -> unit

パラメーター

gatt
BluetoothGatt

GATT クライアント

txPhy
ScanSettingsPhy

使用している送信機 PHY。 BluetoothDevice#PHY_LE_1MBluetoothDevice#PHY_LE_2MBluetoothDevice#PHY_LE_CODEDのいずれか。

rxPhy
ScanSettingsPhy

受信側 PHY を使用します。 BluetoothDevice#PHY_LE_1MBluetoothDevice#PHY_LE_2MBluetoothDevice#PHY_LE_CODEDのいずれか。

status
GattStatus

PHY 更新操作の状態。 BluetoothGatt#GATT_SUCCESS 操作が成功した場合は 。

属性

注釈

BluetoothGatt#setPreferredPhyの結果として、またはリモート デバイスが PHY を変更した結果としてトリガーされるコールバック。

Javaドキュメント。

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

適用対象