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

FOvrCowatchViewerUpdate Struct

CowatchWiewerUpdate is used to represent updates to viewer data within a cowatching session. It's essential for managing and synchronizing viewer data in real-time during cowatching sessions. It can be retrieved using FOvrNotification_Cowatching_ViewersDataChanged when a user joins or updates their viewer data.

Constructors

FOvrCowatchViewerUpdate ()
This is the default constructor for the struct, which initializes the ovrCowatchViewerUpdateHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrCowatchViewerUpdate::FOvrCowatchViewerUpdate()
FOvrCowatchViewerUpdate ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrCowatchViewerUpdate::FOvrCowatchViewerUpdate(ovrCowatchViewerUpdateHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters

Fields

List of viewer data of all cowatch participants who is in a cowatching session. It can be retrieved using Cowatching_GetViewersData().
Signature
FOvrCowatchViewerPages FOvrCowatchViewerUpdate::DataList
Id : FOvrId
A unique user ID of the user whose viewer data has been updated.
Signature
FOvrId FOvrCowatchViewerUpdate::Id

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrCowatchViewerUpdate::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrCowatchViewerUpdate::Update(ovrCowatchViewerUpdateHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
Returns
void