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

CowatchViewer Class

Cowatch viewer represents a viewer in a cowatching session, including their user ID and any data that they have set. The cowatch viewer data can be retrieved using com.meta.horizon.platform.ovr.requests.Cowatching#getViewersData(). It can be useful for tracking the participants in a cowatching session and managing their data.

Constructors

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

Methods

getData ()
Represents the viewer data set by this cowatching viewer. It's an optional string and can be set by com.meta.horizon.platform.ovr.requests.Cowatching#setViewerData(String viewerData).
Signature
String com.meta.horizon.platform.ovr.models.CowatchViewer.getData()
Returns
String  String
getId ()
A unique user ID of the viewer.
Signature
long com.meta.horizon.platform.ovr.models.CowatchViewer.getId()
Returns
long  long