Android.Bluetooth.BluetoothGattServer.NotifyCharacteristicChanged Method
Send a notification or indication that a local characteristic has been updated.

Syntax

[Android.Runtime.Register("notifyCharacteristicChanged", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothGattCharacteristic;Z)Z", "")]
public bool NotifyCharacteristicChanged (BluetoothDevice device, BluetoothGattCharacteristic characteristic, bool confirm)

Parameters

device
The remote device to receive the notification/indication
characteristic
The local characteristic that has been updated
confirm
true to request confirmation from the client (indication), false to send a notification

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:IllegalArgumentException

Remarks

Send a notification or indication that a local characteristic has been updated.

A notification or indication is sent to the remote device to signal that the characteristic has been updated. This function should be invoked for every client that requests notifications/indications by writing to the "Client Configuration" descriptor for the given characteristic.

Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH permission.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18