Class: alarmiatormobile

alarmiatormobile()

Sending new alarms to mobile apps via Firebase Cloud Messaging ALARMiator Zusatzalarmierung

Constructor

new alarmiatormobile()

Source:

Members

alarmiatorActive

Plugin-specific Getters and Setters
Source:

Methods

buildPayloadAlarm(alarmInfo, fcmKeys)

Building alarm payload
Parameters:
Name Type Description
alarmInfo operation
fcmKeys array
Source:

getConfigValue(fieldname)

returns config parameter for given fieldname
Parameters:
Name Type Description
fieldname string
Source:

loadConfig()

Loads configuration for KatSys Service TBD: Needs to be pulled from plugin config store
Source:

registerForEvents()

Registration of Events at the plugin manager (hook in to events provided by the plugin manager)
Source:

sendAlarmMessages(alarmInfo)

Sending ALARMiator messages to all users in ALARMiatorReceivers
Parameters:
Name Type Description
alarmInfo operation
Source:

sendFCMMessage(message, fcmKeys)

Sending message to tokens
Parameters:
Name Type Description
message string
fcmKeys array
Source:

sendMessage(alarmInfo)

Check plugin config, whether sending alarms to ALARMiator is active
Parameters:
Name Type Description
alarmInfo operation
Source:

sendTestAlarm(baseDataId, alarmInfo)

Building alarm payload
Parameters:
Name Type Description
baseDataId number
alarmInfo operation
Source:

setupInstance()

Creates ALARMiator mobile Instance
Source: