This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Mobile 1.19 Reference Guide

VrApi_SystemUtils.h File Reference

Functions

bool
vrapi_ShowSystemUI ( const ovrJava * java, const ovrSystemUIType type )
Display a specific System UI.
OVR_VRAPI_DEPRECATED ( bool vrapi_ShowSystemUIWithExtra )
void
vrapi_ShowFatalError ( const ovrJava * java, const char * title, const char * message, const char * fileName, const unsigned int lineNumber )
Display a Fatal Error Message using the System UI.

Enumeration Type Documentation

enum VrApi_SystemUtils.h.ovrSystemUIType
Enumerator
VRAPI_SYS_UI_CONFIRM_QUIT_MENU= 1
VRAPI_SYS_UI_KEYBOARD_MENU= 2
VRAPI_SYS_UI_FILE_DIALOG_MENU= 3

Function Documentation

OVR_VRAPI_EXPORT bool vrapi_ShowSystemUI ( const ovrJava * java, const ovrSystemUIType type )
Display a specific System UI.
OVR_VRAPI_DEPRECATED ( bool vrapi_ShowSystemUIWithExtra )
Deprecated
Display a specific System UI and pass extra JSON text data.
OVR_VRAPI_EXPORT void vrapi_ShowFatalError ( const ovrJava * java, const char * title, const char * message, const char * fileName, const unsigned int lineNumber )
Display a Fatal Error Message using the System UI.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
34
35
37
38
39
41
42
43
44
45
46
47
48
/************************************************************************************

Filename    :   VrApi_SystemUtils.h
Content     :   Interface for SystemUtils functionality.
Created     :   August 15, 2014
Authors     :   Gloria Kennickell, Jonathan E. Wright
Language    :   C99

Copyright   :   Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved.

*************************************************************************************/
#ifndef OVR_VrApi_SystemUtils_h
#define OVR_VrApi_SystemUtils_h

#include "VrApi_Config.h"
#include "VrApi_Types.h"

#if defined( __cplusplus )
extern"C" {
#endif

typedefenum
{
// enum 0 used to be VRAPI_SYS_UI_GLOBAL_MENU.

    VRAPI_SYS_UI_CONFIRM_QUIT_MENU      = 1,    // Display the 'Confirm Quit' Menu.

    VRAPI_SYS_UI_KEYBOARD_MENU          = 2,    // Display a Keyboard Menu for editing a single string.
    VRAPI_SYS_UI_FILE_DIALOG_MENU       = 3,    // Display a Folder Browser Menu for selecting the path to a file or folder.

} ovrSystemUIType;

OVR_VRAPI_EXPORT bool vrapi_ShowSystemUI( const ovrJava * java, const ovrSystemUIType type );

OVR_VRAPI_DEPRECATED( OVR_VRAPI_EXPORT bool vrapi_ShowSystemUIWithExtra( const ovrJava * java, const ovrSystemUIType type, constchar * extraJsonText ) );


OVR_VRAPI_EXPORT void vrapi_ShowFatalError( const ovrJava * java, constchar * title, constchar * message,
constchar * fileName, constunsignedint lineNumber );

#if defined( __cplusplus )
}   // extern "C"
#endif

#endif  // OVR_VrApi_SystemUtils_h
The documentation for this file was generated from the following file: Include/VrApi_SystemUtils.h