updateDevice

fun updateDevice(device: AlertDevice, listener: IAlertsProxy.IUpdateDeviceListener)

Update a device which already exists associated to the user account.

Parameters

device

AlertDevice the alertDevice object

listener

IUpdateDeviceListener Callback (onUpdateDeviceSuccess and onUpdateDeviceFailed)