Modifier

Partager via


HMCharacteristic.EnableNotificationAsync(Boolean) Method

Definition

Enables or disables notifications and runs completion after it has finished.

public virtual System.Threading.Tasks.Task EnableNotificationAsync (bool enable);
abstract member EnableNotificationAsync : bool -> System.Threading.Tasks.Task
override this.EnableNotificationAsync : bool -> System.Threading.Tasks.Task

Parameters

enable
Boolean

Returns

A task that represents the asynchronous EnableNotification operation

Applies to