Alarm

Sets alarm

The watch supports three alarm clocks, and the alarm clock information can be set according to the alarm clock serial number. Single alarm clock supports setting date.

_blePlugin.sendAlarm(AlarmClockBean info);

Parameter Description :

AlarmClockBean:

valuevalue typevalue description
idintAlarmId
hourinthour (24-hour format)
minuteintminute
repeatModeintfrom RepeatMode
enableboolenable

AlarmId:

firstClocksecondClockthirdClock
First alarm clockSecond alarm clockThird alarm clock

RepeatMode:

singlesundaymondaytuesdaywednesdaythursdayfridaysaturdayeveryday
Single, only valid today.Repeat on SundayRepeat on MondayRepeat on TuesdayRepeat on WednesdayRepeat on ThursdayRepeat on FridayRepeat on SaturdayEveryday

Gets all alarm

Gets all alarm clock information saved by the watch.

List<AlarmClockBean> listInfo = await _blePlugin.queryAllAlarm;
Last Updated: