API reference

CowatchViewerUpdate Class

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 com.meta.horizon.platform.ovr.Message.MessageType#Notification_Cowatching_ViewersDataChanged when a user joins or updates their viewer data.

Constructors

CowatchViewerUpdate ( ptr )
Signature
com.meta.horizon.platform.ovr.models.CowatchViewerUpdate.CowatchViewerUpdate(final long ptr)
Parameters
ptr: final long

Methods

getDataList ()
List of viewer data of all cowatch participants who is in a cowatching session. It can be retrieved using com.meta.horizon.platform.ovr.requests.Cowatching#getViewersData().
Signature
CowatchViewerArray com.meta.horizon.platform.ovr.models.CowatchViewerUpdate.getDataList()
Returns
CowatchViewerArray CowatchViewerArray
getId ()
A unique user ID of the user whose viewer data has been updated.
Signature
long com.meta.horizon.platform.ovr.models.CowatchViewerUpdate.getId()
Returns
long  long