@DeviceTokenCheck public class Installation extends BaseModel
| Constructor and Description |
|---|
Installation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
Set<Category> |
getCategories() |
String |
getDeviceToken() |
String |
getDeviceType() |
String |
getOperatingSystem() |
String |
getOsVersion() |
String |
getPlatform() |
Variant |
getVariant() |
boolean |
isEnabled() |
void |
setAlias(String alias)
Application specific alias to identify users with the system.
|
void |
setCategories(Set<Category> categories)
Used to "tag" the clients.
|
void |
setDeviceToken(String deviceToken)
Identifies the device/user-agent within its PushNetwork.
|
void |
setDeviceType(String deviceType)
The device type of the device or the user agent.
|
void |
setEnabled(boolean enabled)
Flag if the actual client installation is enabled (default) or not.
|
void |
setOperatingSystem(String operatingSystem)
The (optional) name of the underlying Operating System.
|
void |
setOsVersion(String osVersion)
The (optional) version of the used Operating System.
|
void |
setPlatform(String platform)
A reliable way of determining the platform type
for an installation.
|
void |
setVariant(Variant variant) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - if true the Installation is marked as enabled,
setting it to false disables it.public String getDeviceToken()
public void setDeviceToken(String deviceToken)
deviceToken
registrationId
deviceToken - unique string to identify an Installation with its PushNetworkpublic String getDeviceType()
public void setDeviceType(String deviceType)
iPod, iPad or iPhone
Phone or Tablet
deviceType - the type of the registered devicepublic String getOperatingSystem()
public void setOperatingSystem(String operatingSystem)
operatingSystem - the name of the Operating System.public String getOsVersion()
public void setOsVersion(String osVersion)
osVersion - the version string of the mobile OS.public String getAlias()
public void setAlias(String alias)
alias - string to map the Installation to an actual user.public void setCategories(Set<Category> categories)
categories - set of all categories the client is inpublic void setPlatform(String platform)
platform - the name of the platformpublic String getPlatform()
public Variant getVariant()
public void setVariant(Variant variant)
Copyright © 2018 JBoss by Red Hat. All rights reserved.