BluetoothGattServerCallback.OnPhyUpdate Methode

Definition

Der Rückruf wurde als Ergebnis des BluetoothGattServer#setPreferredPhyPhY ausgelöst oder als Ergebnis eines Remotegeräts, das das PHY ändert.

[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

Parameter

device
BluetoothDevice

Das Remotegerät

txPhy
ScanSettingsPhy

der sender PHY in Gebrauch. Einer von BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Mund BluetoothDevice#PHY_LE_CODED

rxPhy
ScanSettingsPhy

der zu verwendenden Empfänger-PHY. Einer von BluetoothDevice#PHY_LE_1M, BluetoothDevice#PHY_LE_2Mund BluetoothDevice#PHY_LE_CODED

status
GattStatus

Status des PHY-Aktualisierungsvorgangs. BluetoothGatt#GATT_SUCCESS wenn der Vorgang erfolgreich ist.

Attribute

Hinweise

Der Rückruf wurde als Ergebnis des BluetoothGattServer#setPreferredPhyPhY ausgelöst oder als Ergebnis eines Remotegeräts, das das PHY ändert.

Java Dokumentation für android.bluetooth.BluetoothGattServerCallback.onPhyUpdate(android.bluetooth.BluetoothDevice, int, int, int).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: