PositionSensorsPlatformInterface class abstract

Common interface of the position_sensors plugin

Inheritance
  • Object
  • PlatformInterface
  • PositionSensorsPlatformInterface

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
hashCode int
The hash code for this object.
no setterinherited
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 bias)
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDelay(int delay) Future<void>
Set the delay of the information stream
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance PositionSensorsPlatformInterface
getter/setter pair