Home > @magiclane/maps-sdk > AlarmService > create

AlarmService.create() method

Creates a new instance of the AlarmService class.

Signature:

static create(listener: AlarmListener): AlarmService;

Parameters

Parameter

Type

Description

listener

AlarmListener

AlarmListener that gets notified of the alarm events.

Returns:

AlarmService

Exceptions

An exception if it fails.