BluetoothGattCallback.OnCharacteristicRead Método

Definição

Sobrecargas

Nome Description
OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, GattStatus)

Retorno de chamada relatando o resultado de uma operação de leitura característica.

OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, Byte[], GattStatus)

Retorno de chamada relatando o resultado de uma operação de leitura característica.

OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, GattStatus)

Retorno de chamada relatando o resultado de uma operação de leitura característica.

[Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_IHandler")]
public virtual void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattCharacteristic? characteristic, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_IHandler")>]
abstract member OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * Android.Bluetooth.GattStatus -> unit
override this.OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * Android.Bluetooth.GattStatus -> unit

Parâmetros

gatt
BluetoothGatt

Cliente GATT invocado BluetoothGatt#readCharacteristic(BluetoothGattCharacteristic)

characteristic
BluetoothGattCharacteristic

Característica que foi lida do dispositivo remoto associado.

status
GattStatus

BluetoothGatt#GATT_SUCCESS se a operação de leitura foi concluída com êxito.

Atributos

Comentários

Retorno de chamada relatando o resultado de uma operação de leitura característica.

Este membro foi preterido. Usar BluetoothGattCallback#onCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, byte[], int) como é seguro de memória

Java documentação para android.bluetooth.BluetoothGattCallback.onCharacteristicRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattCharacteristic, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, Byte[], GattStatus)

Retorno de chamada relatando o resultado de uma operação de leitura característica.

[Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;[BI)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_arrayBIHandler", ApiSince=33)]
public virtual void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, byte[] value, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;[BI)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_arrayBIHandler", ApiSince=33)>]
abstract member OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * byte[] * Android.Bluetooth.GattStatus -> unit
override this.OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * byte[] * Android.Bluetooth.GattStatus -> unit

Parâmetros

gatt
BluetoothGatt

Cliente GATT invocado BluetoothGatt#readCharacteristic(BluetoothGattCharacteristic)

characteristic
BluetoothGattCharacteristic

Característica que foi lida do dispositivo remoto associado.

value
Byte[]

o valor da característica

status
GattStatus

BluetoothGatt#GATT_SUCCESS se a operação de leitura foi concluída com êxito.

Atributos

Comentários

Retorno de chamada relatando o resultado de uma operação de leitura característica.

Java documentação para android.bluetooth.BluetoothGattCallback.onCharacteristicRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattCharacteristic, byte[], int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a