![]() |
Verse 1.0
A multi-platform multiplayer Virtual Reality experience developed with Unity
|
Provides access to the app focus state. More...
Public Types | |
enum | VisibilityState { visible , hidden , visibleBlurred , unknown } |
App visibility states. | |
enum | XRState { normal , VR , AR , unknown } |
XR states. | |
Public Member Functions | |
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. | |
Provides access to the app focus state.
void O8C.IO8CAppFocusState.AddOnXRChangeObserver | ( | Action< XRState > | observer | ) |
Add an observer to the "XR change" event.
observer | The observer. |
VisibilityState O8C.IO8CAppFocusState.GetCurrentVisibilityState | ( | ) |
Returns the current visibility state.
Implemented in O8C.O8CAppFocusState, and O8C.O8CAppFocusStateDefault.
XRState O8C.IO8CAppFocusState.GetCurrentXRState | ( | ) |
Returns the current XR state.
Implemented in O8C.O8CAppFocusState, and O8C.O8CAppFocusStateDefault.
void O8C.IO8CAppFocusState.RemoveOnXRChangeObserver | ( | Action< XRState > | observer | ) |
Remmoves an observer to the "XR change" event.
observer | The observer. |