BluetoothGattCallback.OnDescriptorWrite Metode

Definisi

Panggilan balik menunjukkan hasil operasi penulisan deskriptor.

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

Parameter

gatt
BluetoothGatt

Klien GATT dipanggil BluetoothGatt#writeDescriptor

descriptor
BluetoothGattDescriptor

Deskriptor yang ditulis ke perangkat jarak jauh terkait.

status
GattStatus

Hasil operasi BluetoothGatt#GATT_SUCCESS tulis jika operasi berhasil.

Atribut

Keterangan

Panggilan balik menunjukkan hasil operasi penulisan deskriptor.

Java dokumentasi untuk android.bluetooth.BluetoothGattCallback.onDescriptorWrite(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