XRSessionEvent class

The WebXR Device API's interface describes an event which indicates the change of the state of an XRSession. These events occur, for example, when the session ends or the visibility of its context changes.

Event

XRSessionEvent

Implemented types
Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

XRSessionEvent(String type, XRSessionEventInit eventInitDict)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited