LinearAccelerationSensor class
- Inheritance
-
- Object
- EventTarget
- Sensor
- Accelerometer
- LinearAccelerationSensor
- Annotations
-
- @Native("LinearAccelerationSensor")
Constructors
- LinearAccelerationSensor.new([Map? sensorOptions])
-
factory
Properties
- activated â bool?
-
no setterinherited
- hashCode â int
-
The hash code for this object.
no setterinherited
- hasReading â bool?
-
no setterinherited
- on â Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
no setterinherited
-
onError
â Stream<
Event> -
no setterinherited
- runtimeType â Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp â num?
-
no setterinherited
- x â num?
-
no setterinherited
- y â num?
-
no setterinherited
- z â num?
-
no setterinherited
Methods
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) â void -
inherited
-
dispatchEvent(
Event event) â bool -
inherited
-
noSuchMethod(
Invocation invocation) â dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) â void -
inherited
-
start(
) â void -
inherited
-
stop(
) â void -
inherited
-
toString(
) â String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) â bool -
The equality operator.
inherited