XRSessionStateChangedEvent#
Class XRSessionStateChangedEvent
Hierarchy
- WebVisEvent
- XRSessionStateChangedEvent
 
Constructors
Properties
Constructors
constructor
- new XRSessionState Changed Event(state): XRSessionStateChangedEvent 
- 
Parameters- 
state: XRSessionState
 Returns XRSessionStateChangedEvent
- 
Properties
id
id: number
state
The new state of (the connection of) the XRSession. XR_SESSION_STATE_CHANGED
Optional transaction
transaction
Optional transactionID
transactionID?: number
Event that is fired when the state of (the connection of) an XRSession changes.