public interface Device
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceId()
An id representing a particular device.
|
Timestamp |
getLastRegister() |
String |
getToken()
A device token.
|
void |
setDeviceId(String id)
An id representing a particular device.
|
void |
setLastRegister(Timestamp lastRegister) |
void |
setToken(String token)
Set the device token
|
String getDeviceId()
Note that this is a local reference to the device, which is not related to the actual device UUID or other device-specific identification. Most of the time, this deviceId should be the same as the token.
void setDeviceId(String id)
Note that this is a local reference to the device, which is not related to the actual device UUID or other device-specific identification. Most of the time, this deviceId should be the same as the token.
id - the device idString getToken()
void setToken(String token)
token - Timestamp getLastRegister()
void setLastRegister(Timestamp lastRegister)
lastRegister - the last registerCopyright © 2016. All rights reserved.