ArSensorManager class

Implemented types

Constructors

ArSensorManager({AttitudeFilter? attitudeFilter, HeadingFilter? headingFilter, LocationFilter? locationFilter, bool smoothAttitude = true, bool smoothLocation = true})
Pass a null filter to use the raw sensor values.

Properties

arSensor → Stream<ArSensor>
Stream of fused sensor samples. Must be a broadcast stream if the source is shared between several views. Failures (e.g. permission denied) are reported as ArSensorException stream errors.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Stops listening and releases resources.
override
init() → void
Idempotent: calling it again (e.g. from several views sharing this manager) does not re-subscribe to the sensors.
override
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