Alerts

object Alerts

Functions

createDevice
Link copied to clipboard
fun createDevice(device: AlertDevice, listener: IAlertsProxy.ICreateDeviceListener)
Create a new device associated to the user account.
deleteDevice
Link copied to clipboard
fun deleteDevice(deviceId: String, listener: IAlertsProxy.IDeleteDeviceListener)
Create a new device associated to the user account.
getDevices
Link copied to clipboard
fun getDevices(listener: IAlertsProxy.IGetDevicesListener)
Get the list of devices which will receive alerts
registerChangeListener
Link copied to clipboard
fun registerChangeListener(ialertNotificationListener: IAlertsMgr.IAlertNotificationListener)
sendAlertFeedback
Link copied to clipboard
fun sendAlertFeedback(deviceId: String, alertId: String, answerId: String, listener: IAlertsProxy.ISendAlertFeedbackListener)
send a feedback of the alert
sendReadAcknoledge
Link copied to clipboard
fun sendReadAcknoledge(alertTemplate: AlertTemplate)
send a read acknoledge
sendReceivedAcknoledge
Link copied to clipboard
fun sendReceivedAcknoledge(alertTemplate: AlertTemplate)
send a received acknoledge
unregisterChangeListener
Link copied to clipboard
fun unregisterChangeListener(ialertNotificationListener: IAlertsMgr.IAlertNotificationListener)
updateDevice
Link copied to clipboard
fun updateDevice(device: AlertDevice, listener: IAlertsProxy.IUpdateDeviceListener)
Update a device which already exists associated to the user account.