public String getDeviceToken() { DeviceAttribute attr = this.readAttribute("device-token"); if(attr != null) { return attr.getValue(); } return null; } //-------------------------------------------------------------------------------------------------------
public String getOs() { DeviceAttribute osAttr = this.readAttribute("os"); if(osAttr != null) { return osAttr.getValue(); } return null; }
if(device != null && device.getIdentity().isActive()) String storedNonce = device.readAttribute("nonce").getValue();
String storedNonce = device.readAttribute("nonce").getValue();
String storedNonce = device.readAttribute("nonce").getValue();