public final class User
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Attribute |
getDetails()
gets the details of this user in the form of an Attribute tree
|
java.lang.String |
getName()
gets the human-readable name of the User
|
Service |
getService()
gets the service to which this User is attached.
|
Subscription[] |
getSubscriptions()
gets the Subscriptions that this User has subscribed to.
|
java.lang.String |
getUid()
gets the unique identifier of the User
|
boolean |
isDeviceRegistered()
tells if the device is registered to this User
|
java.lang.String |
toString() |
public java.lang.String getName()
public java.lang.String getUid()
public boolean isDeviceRegistered()
public Attribute getDetails()
public Service getService()
public Subscription[] getSubscriptions() throws ErrorCodeException
ErrorCodeException
public java.lang.String toString()
toString
in class java.lang.Object