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

ovr_Cowatching_GetViewersData Function

Get the viewer data of everyone who is in a cowatching session whose data was set by ovr_Cowatching_SetViewerData(). This can be called when there is an active cowatching session.
A message with type ovrMessage_Cowatching_GetViewersData will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrCowatchViewerArrayHandle. Extract the payload from the message handle with ovr_Message_GetCowatchViewerArray().

Signature

ovrRequest ovr_Cowatching_GetViewersData()

Returns