updateDevice
Updates an existing AlertDevice associated with the user’s account.
This method modifies the details of an already registered device. The updated device will continue to receive alerts unless it's deleted.
Parameters
device
The updated AlertDevice object.
listener
A RainbowListener that will return the updated AlertDevice on success, or an error if the operation fails.