createDevice

fun createDevice(device: AlertDevice, listener: IAlertsProxy.ICreateDeviceListener)

Create a new device associated to the user account. This device will receive alerts

Parameters

device

AlertDevice the alertDevice object

listener

ICreateDeviceListener Callback (onCreateDeviceSuccess and onCreateDeviceFailed)