Package com.mypurecloud.sdk.v2.model
Class UserDevice
java.lang.Object
com.mypurecloud.sdk.v2.model.UserDevice
- All Implemented Interfaces:
Serializable
UserDevice
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumtype of the device; ios or android -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptNotifications(Boolean acceptNotifications) if the device accepts notificationsdeviceToken(String deviceToken) device token sent by mobile clients.booleangetId()getMake()getModel()getName()getType()inthashCode()make of the device.Device modelnotificationId(String notificationId) notification id of the device.sessionHash(String sessionHash) voidsetAcceptNotifications(Boolean acceptNotifications) voidsetDeviceToken(String deviceToken) voidvoidvoidvoidsetNotificationId(String notificationId) voidsetSessionHash(String sessionHash) voidsetType(UserDevice.TypeEnum type) toString()type(UserDevice.TypeEnum type) type of the device; ios or android
-
Constructor Details
-
UserDevice
public UserDevice() -
UserDevice
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
deviceToken
device token sent by mobile clients. -
getDeviceToken
-
setDeviceToken
-
notificationId
notification id of the device. -
getNotificationId
-
setNotificationId
-
make
make of the device. -
getMake
-
setMake
-
model
Device model -
getModel
-
setModel
-
acceptNotifications
if the device accepts notifications -
getAcceptNotifications
-
setAcceptNotifications
-
type
type of the device; ios or android -
getType
-
setType
-
sessionHash
-
getSessionHash
-
setSessionHash
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-