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

CowatchingState Class

It's designed to manage cowatching sessions within a shared virtual home environment. This state primarily focuses on tracking whether a user is currently participating in a cowatching session. If there is any change in the cowatching state, it can be retrieved using com.meta.horizon.platform.ovr.Message.MessageType#Notification_Cowatching_InSessionChanged.

Constructors

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

Methods

getInSession ()
A boolean indicates if the current user is in a cowatching session. It can be retrieved using com.meta.horizon.platform.ovr.requests.Cowatching#isInSession().
Signature
boolean com.meta.horizon.platform.ovr.models.CowatchingState.getInSession()
Returns
boolean  boolean