Verse 1.0
A multi-platform multiplayer Virtual Reality experience developed with Unity
Loading...
Searching...
No Matches
Public Member Functions | List of all members
O8C.O8CAppFocusState Class Referenceabstract

Parent class for IO8CAppFocusState MonoBehaviour implementations. More...

Inheritance diagram for O8C.O8CAppFocusState:
O8C.IO8CAppFocusState O8C.O8CAppFocusStateDefault

Public Member Functions

abstract void AddOnXRChangeObserver (Action< IO8CAppFocusState.XRState > observer)
 
abstract IO8CAppFocusState.VisibilityState GetCurrentVisibilityState ()
 
abstract IO8CAppFocusState.XRState GetCurrentXRState ()
 
abstract void RemoveOnXRChangeObserver (Action< IO8CAppFocusState.XRState > observer)
 
- Public Member Functions inherited from O8C.IO8CAppFocusState
void AddOnXRChangeObserver (Action< XRState > observer)
 Add an observer to the "XR change" event.
 
void RemoveOnXRChangeObserver (Action< XRState > observer)
 Remmoves an observer to the "XR change" event.
 
XRState GetCurrentXRState ()
 Returns the current XR state.
 
VisibilityState GetCurrentVisibilityState ()
 Returns the current visibility state.
 

Additional Inherited Members

- Public Types inherited from O8C.IO8CAppFocusState
enum  VisibilityState { visible , hidden , visibleBlurred , unknown }
 App visibility states.
 
enum  XRState { normal , VR , AR , unknown }
 XR states.
 

Detailed Description

Parent class for IO8CAppFocusState MonoBehaviour implementations.

This class only contains abstract implementations of the interface and is intended to allow implementors of the interface to be used in the inspector.

Member Function Documentation

◆ AddOnXRChangeObserver()

abstract void O8C.O8CAppFocusState.AddOnXRChangeObserver ( Action< IO8CAppFocusState.XRState observer)
pure virtual

{}

Implemented in O8C.O8CAppFocusStateDefault.

◆ GetCurrentVisibilityState()

abstract IO8CAppFocusState.VisibilityState O8C.O8CAppFocusState.GetCurrentVisibilityState ( )
pure virtual

{Returns the current visibility state.

Returns
The current visibility state.
}

Implements O8C.IO8CAppFocusState.

Implemented in O8C.O8CAppFocusStateDefault.

◆ GetCurrentXRState()

abstract IO8CAppFocusState.XRState O8C.O8CAppFocusState.GetCurrentXRState ( )
pure virtual

{Returns the current XR state.

Returns
The current XR state.
}

Implements O8C.IO8CAppFocusState.

Implemented in O8C.O8CAppFocusStateDefault.

◆ RemoveOnXRChangeObserver()

abstract void O8C.O8CAppFocusState.RemoveOnXRChangeObserver ( Action< IO8CAppFocusState.XRState observer)
pure virtual

{}

Implemented in O8C.O8CAppFocusStateDefault.


The documentation for this class was generated from the following file: