GameMotionSource class abstract interface

The bridge motion backend: gyroscope and accelerometer streaming, each at its own requested rate (clamped to 1..60 Hz). Values pass through in SI units. Delivery suspends on pause and resumes on resume; stopAll ends every stream. Never throws.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
onSample ↔ GameMotionSample?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

availableSensors() → Set<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
resume() → void
start(String sensor, int hz) → void
stop(String sensor) → void
stopAll() → void
toString() → String
A string representation of this object.
inherited

Operators

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