-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebVREventType.hx
41 lines (40 loc) · 1.31 KB
/
WebVREventType.hx
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
33
34
35
36
37
38
39
40
41
package eventtypes;
/**
Auto generated from MDN event reference.
**/
enum abstract WebVREventType(String) to String {
/**
when a compatible `VRDisplay` is connected to the computer.
**/
var VRDisplayConnect = "vrdisplayconnect";
/**
When a compatible `VRDisplay` is disconnected from the computer.
**/
var VRDisplayDisconnect = "vrdisplaydisconnect";
/**
When a VR display is able to be presented to, for example if an HMD has
been moved to bring it out of standby, or woken up by being put on.
**/
var VRDisplayActivate = "vrdisplayactivate";
/**
When a `VRDisplay` can no longer be presented to, for example if an HMD
has gone into standby or sleep mode due to a period of inactivity.
**/
var VRDisplayDeactivate = "vrdisplaydeactivate";
/**
when presentation to a `VRDisplay` has been paused for some reason by
the browser, OS, or VR hardware — for example, while the user is
interacting with a system menu or browser, to prevent tracking or loss
of experience.
**/
var VRDisplayBlur = "vrdisplayblur";
/**
When presentation to a `VRDisplay` has resumed after being blurred.
**/
var VRDisplayFocus = "vrdisplayfocus";
/**
The presenting state of a `VRDisplay` changes — i.e. goes from
presenting to not presenting, or vice versa.
**/
var VRDisplayPresentChange = "vrdisplaypresentchange";
}