PositionSensors class

Plugin's main class

Constructors

PositionSensors()

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

delay Future<int?>
Get the delay of the information stream
no setter
gameRotationEvents Stream<RotationEvent>
Changes in rotation detected by the accelerometer and gyroscope
no setter
magneticFieldEvents Stream<MagneticFieldEvent>
Changes in earth's magnetic field detected by the magnetometer
no setter
magneticRotationEvents Stream<RotationEvent>
Changes in rotation detected by the accelerometer and magnetometer
no setter
proximityEvents Stream<ProximityEvent>
Changes in distace to some object detected by the proximity sensor
no setter
proximityFarValue Future<double?>
Get the maximum value of proximity sensor
no setter
rotationEvents Stream<RotationEvent>
Changes in rotation detected by the accelerometer, gyroscope and magnetometer
no setter
supportedSensors Future<List<String>?>
Get the device's sensors supported by the plugin
no setter
uncalibratedMagneticFieldEvents Stream<MagneticFieldEvent>
Changes in earth's magnetic field detected by the magnetometer (with iron bias)
no setter

Static Methods

setDelay(int delay) Future<void>
Set the delay of the information stream