getDefaultUserPresence
See source codefunction getDefaultUserPresence(
store: TLStore,
user: TLPresenceUserInfo
): {
brush: import('.').BoxModel | null
camera: {
x: number
y: number
z: number
}
chatMessage: string
color: string
currentPageId: import('.').TLPageId
cursor: {
rotation: number
type: string
x: number
y: number
}
followingUserId: null | string
lastActivityTimestamp: number
meta: {}
screenBounds: import('.').BoxModel
scribbles: import('.').TLScribble[]
selectedShapeIds: import('.').TLShapeId[]
userId: string
userName: string
} | null
Parameters
Name | Description |
---|---|
| |
|
Returns
{
brush: import('.').BoxModel | null
camera: {
x: number
y: number
z: number
}
chatMessage: string
color: string
currentPageId: import('.').TLPageId
cursor: {
rotation: number
type: string
x: number
y: number
}
followingUserId: null | string
lastActivityTimestamp: number
meta: {}
screenBounds: import('.').BoxModel
scribbles: import('.').TLScribble[]
selectedShapeIds: import('.').TLShapeId[]
userId: string
userName: string
} | null
Prev
getDefaultTranslationLocaleNext
idValidator