Comparteix via


BluetoothGattCallback.OnServiceChanged(BluetoothGatt) Método

Definición

Devolución de llamada que indica que se recibe el evento de cambio de servicio

[Android.Runtime.Register("onServiceChanged", "(Landroid/bluetooth/BluetoothGatt;)V", "GetOnServiceChanged_Landroid_bluetooth_BluetoothGatt_Handler", ApiSince=31)]
public virtual void OnServiceChanged (Android.Bluetooth.BluetoothGatt gatt);
[<Android.Runtime.Register("onServiceChanged", "(Landroid/bluetooth/BluetoothGatt;)V", "GetOnServiceChanged_Landroid_bluetooth_BluetoothGatt_Handler", ApiSince=31)>]
abstract member OnServiceChanged : Android.Bluetooth.BluetoothGatt -> unit
override this.OnServiceChanged : Android.Bluetooth.BluetoothGatt -> unit

Parámetros

gatt
BluetoothGatt

Cliente GATT implicado

Atributos

Comentarios

Documentación de Java para android.bluetooth.BluetoothGattCallback.onServiceChanged(android.bluetooth.BluetoothGatt).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a