BluetoothGattCallback.OnServiceChanged(BluetoothGatt) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback indicating service changed event is received
[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
Parameters
- gatt
- BluetoothGatt
GATT client involved
- Attributes
Remarks
Callback indicating service changed event is received
Receiving this event means that the GATT database is out of sync with the remote device. BluetoothGatt#discoverServices
should be called to re-discover the services.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.