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

FOvrCowatchingState Struct

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 UOvrPlatformSubsystem::OnCowatchingInSessionChanged().

Constructors

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

Fields

InSession : bool
A boolean indicates if the current user is in a cowatching session. It can be retrieved using UOvrRequestsBlueprintLibrary::Cowatching_IsInSession().
Signature
bool FOvrCowatchingState::InSession

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrCowatchingState::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 FOvrCowatchingState::Update(ovrCowatchingStateHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrCowatchingStateHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void