AlarmService constructor
- AlarmListener listener
Creates a new instance of the AlarmService class.
Parameters
- IN listener AlarmListener that gets notified of the alarm events.
Throws
- An exception if it fails.
Implementation
factory AlarmService(final AlarmListener listener) {
return AlarmService._create(listener);
}