
com.togocms.pns.bo.LegacyDevice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of togopns Show documentation
Show all versions of togopns Show documentation
Push Notification System (Apple/Google)
The newest version!
package com.togocms.pns.bo;
public class LegacyDevice extends Device {
public String getDomainName() {
return getChannel();
}
public void setDomainName(String domainName) {
setChannel(domainName);
}
public String getApnsToken() {
return getToken();
}
public void setApnsToken(String apnsToken) {
setToken(apnsToken);
}
public String getPlatformId() {
try {
return getPlatform().toString();
} catch (Exception e) {
return null;
}
}
public void setPlatformId(String platformId) {
try {
setPlatform(Integer.parseInt(platformId));
} catch (Exception e) {
setPlatform(null);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy