Data Models
PresenceUser
PresenceUser
Class Properties
Property | Type | Optional | Description |
---|---|---|---|
userId | String | No | Unique user identifier |
name | String | Yes | User’s full name (Default: Random avatar name) |
email | String | Yes | User’s email address |
photoUrl | String | Yes | User’s display picture URL (Default: Random avatar image) |
onlineStatus | String | No | Online status (active, inactive, offline) (Auto generated) |
color | String | Yes | Assigned color for the user (Auto generated) |
timestamp | Any | No | Server Timestamp |
type | String | Yes | User type |
selections | Any | Yes | User selections |
documentParamsId | Number, null | Yes | Deprecated unique document params ID |
documentParams | Object, null | Yes | Deprecated document params |
locationId | Number, null | Yes | Unique location ID |
location | Location , null | Yes | Location of user on sub document |
isReadOnly | Boolean | Yes | Indicates if user is readonly |
isAnonymous | Boolean | Yes | If user can only view comments (Anonymous) |
pageInfo | PageInfo | No | Information about the page |