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

ovr_Cowatching_SetPresenterData Function

Set the data that drives a cowatching session. This method is only callable by the presenter. The video title cannot exceed 100 characters, and the data size is limited to 500 characters. The data will be eventually consistent across all users. ovrMessage_Cowatching_SetPresenterData will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
This response has no payload. If no error occurred, the request was successful. Yay!

Signature

ovrRequest ovr_Cowatching_SetPresenterData(const char *video_title, const char *presenter_data)

Parameters

video_title: const char * A string representing the title of the video being played in the cowatching session. This parameter must not exceed 100 characters in length.
presenter_data: const char * A string containing data that drives the cowatching session, such as video metadata or playback information. This parameter is limited to 500 characters in length and will be eventually consistent across all users participating in the session.

Returns