createDevice

abstract fun createDevice(device: AlertDevice, listener: RainbowListener<AlertDevice, Unit>)

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

Parameters

device

AlertDevice the alertDevice object

listener

RainbowListener Callback