setEnabled

abstract fun setEnabled(id: Int, isEnabled: Boolean)

Enabled or disabled alarm with specified id.

If there is no alarm with such id then isAlarmsInProcessing will emit NoSuchElementException.

API Note: User must be valid.

See also

Parameters

id

alarm id

Throws

for unauthorized user or unprepared session

if wristband is not ready for communication

if there is no default wristband