VrSensorCapabilities class abstract final

Platform registration of the device-motion backend, not a guarantee that a particular device contains a sensor or that browser permission is granted.

sensors_plus provides Android, iOS and Web implementations. Native desktop hosts keep touch/gamepad input; custom sensor streams remain usable there.

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

Static Properties

supportsDeviceMotion → bool
no setter

Static Methods

supportsDeviceMotionOn(TargetPlatform platform, {bool isWeb = false}) → bool