Lingua

BluetoothGattCallback.OnSubrateChange(BluetoothGatt, Int32, Int32) Metodo

Definizione

Callback che indica che i parametri di sottorate della connessione LE sono stati modificati.

[Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothGatt_IIHandler", ApiSince=36)]
public virtual void OnSubrateChange(Android.Bluetooth.BluetoothGatt gatt, int subrateMode, int status);
[<Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothGatt_IIHandler", ApiSince=36)>]
abstract member OnSubrateChange : Android.Bluetooth.BluetoothGatt * int * int -> unit
override this.OnSubrateChange : Android.Bluetooth.BluetoothGatt * int * int -> unit

Parametri

gatt
BluetoothGatt

Il dispositivo remoto coinvolto

subrateMode
Int32

per questa connessione LE.

status
Int32

BluetoothGatt#GATT_SUCCESS se la sottoratzione della connessione è stata aggiornata correttamente

Attributi

Commenti

Callback che indica che i parametri di sottorate della connessione LE sono stati modificati.

per android.bluetooth.BluetoothGattCallback.onSubrateChange(android.bluetooth.BluetoothGatt, int, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a