BluetoothGattCallback.OnDescriptorRead Metode

Definisi

Overload

Nama Deskripsi
OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[])

Panggilan balik melaporkan hasil operasi baca deskriptor.

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus)

Panggilan balik melaporkan hasil operasi baca deskriptor.

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[])

Panggilan balik melaporkan hasil operasi baca deskriptor.

[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, Android.Bluetooth.GattStatus status, byte[] value);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit

Parameter

gatt
BluetoothGatt

Klien GATT dipanggil BluetoothGatt#readDescriptor

descriptor
BluetoothGattDescriptor

Deskriptor yang dibaca dari perangkat jarak jauh terkait.

status
GattStatus

BluetoothGatt#GATT_SUCCESS jika operasi baca berhasil diselesaikan

value
Byte[]

nilai deskriptor pada saat operasi baca

Atribut

Keterangan

Panggilan balik melaporkan hasil operasi baca deskriptor.

Java dokumentasi untuk android.bluetooth.BluetoothGattCallback.onDescriptorRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int, byte[]).

Bagian dari halaman ini adalah modifikasi berdasarkan pekerjaan yang dibuat dan dibagikan oleh Android Open Source Project dan digunakan sesuai dengan istilah yang dijelaskan dalam Lisensi Creative Commons 2.5 Lisensi Atribusi.

Berlaku untuk

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus)

Panggilan balik melaporkan hasil operasi baca deskriptor.

[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattDescriptor? descriptor, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit

Parameter

gatt
BluetoothGatt

Klien GATT dipanggil BluetoothGatt#readDescriptor

descriptor
BluetoothGattDescriptor

Deskriptor yang dibaca dari perangkat jarak jauh terkait.

status
GattStatus

BluetoothGatt#GATT_SUCCESS jika operasi baca berhasil diselesaikan

Atribut

Keterangan

Panggilan balik melaporkan hasil operasi baca deskriptor.

Anggota ini tidak digunakan lagi. Gunakan BluetoothGattCallback#onDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, int, byte[]) karena memori aman dengan memberikan nilai deskriptor pada saat dibaca.

Java dokumentasi untuk android.bluetooth.BluetoothGattCallback.onDescriptorRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int).

Bagian dari halaman ini adalah modifikasi berdasarkan pekerjaan yang dibuat dan dibagikan oleh Android Open Source Project dan digunakan sesuai dengan istilah yang dijelaskan dalam Lisensi Creative Commons 2.5 Lisensi Atribusi.

Berlaku untuk