DuoMotionSource class abstract
Where orientation samples come from.
One implementation talks to the platform channel; the other is a fake the tests and the example app's manual mode drive by hand.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ Stream<
MotionSample> -
Orientation samples, at roughly the platform's game-sensor rate.
no setter
Methods
-
dispose(
) → Future< void> - Releases native listeners.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readMetrics(
) → Future< DuoFoldDisplayMetrics> - Reads display density and sensor availability once.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited