update

abstract fun update(alarm: UserAlarm)

Update existing alarm.

If alarm was deleted or alarm was created not by create then isAlarmsInProcessing will emit IllegalArgumentException. Use add or create new alarm.

API Note: User must be valid.

See also

Parameters

alarm

alarm

Throws

for unauthorized user or unprepared session

if wristband is not ready for communication

if there is no default wristband


abstract fun update(alarms: List<UserAlarm>)

Update existing alarms.

If any alarm was deleted or one was created not by create then isAlarmsInProcessing will emit IllegalArgumentException. Use add or create new alarm.

API Note: User must be valid.

See also

Parameters

alarms

list of alarms

Throws

for unauthorized user or unprepared session

if wristband is not ready for communication

if there is no default wristband