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