API reference
API reference
Select your platform
No SDKs available
No versions available

Cowatching Class

Static Member Functions

Presenter data is used to drive a cowatching session. This can be called when there is an active cowatching session.
Get the viewer data of everyone who is in a cowatching session whose data was set by Cowatching.SetViewerData(). This can be called when there is an active cowatching session.
Check whether the current user is in the current cowatching session.
Join the current cowatching session. Viewer data can only be updated by users who are in the session.
Launch a dialog for inviting users to cowatch in Copresent Home.
Leave the current cowatching session. Viewer data will no longer be relevant.
Request to start a cowatching session as the presenter while copresent in home.
Stop being the presenter. This will end the cowatching session.
Set the data that drives a cowatching session. This method is only callable by the presenter. Video title cannot exceed 100 characters, and data size is limited to 500 characters. The data will be eventually consistent across all users.
Set the current user's viewer data to be shared with copresent users. This can be called when there is an active cowatching session. Data size is limited to 500 characters. The data will be eventually consistent across all users.
Sent when user is no longer copresent. Cowatching actions should not be performed.
Sent when user is in copresent and cowatching is ready to go.
Sent when the current user joins/leaves the cowatching session.
Sent when cowatching api has been initialized. The api is not yet ready at this stage.
Sent when the presenter updates the presenter data.
Sent when a user has started a cowatching session whose id is reflected in the payload.
Sent when a cowatching session has ended.
Sent when a user joins or updates their viewer data.
static Request< Models.CowatchViewerList > GetNextCowatchViewerListPage
Did you find this page helpful?
Thumbs up icon
Thumbs down icon