Returns the value of the specified account attribute.
The attribute's name.
The attribute's scope. For global account attributes, specify scope null. For attributes scoped to a room, specify the room's id.
Returns an object whose variables represent the names and values of the shared attributes for this snapshot's account. The object is a map of fully qualified attribute name/value pairs. For details and examples, see Client.getAttributes method, which returns an object of the same format.
| null}
Returns the status of the most recent snapshot load-operation. If a load operation is currently in progress, getStatus() returns null. The possible return values of getStatus() depend on the snapshot type.
Returns the userID for this user account snapshot object.
Indicates whether the snapshot is currently loading data. While an update is in progress, further requests to update the snapshot are ignored.
The AccountSnapshot class is used to load a "snapshot" of a server-side user account. The snapshot includes all persistent attributes stored in the user account, including room attributes and global attributes.