DeviceMotionEventAcceleration extension type
The DeviceMotionEventAcceleration
interface of the
Device Orientation Events
provides information about the amount of
acceleration the device is experiencing along all three axes.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → double?
-
The
x
read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the X axis in aDeviceMotionEventAcceleration
object.no setter - y → double?
-
The
y
read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Y axis in aDeviceMotionEventAcceleration
object.no setter - z → double?
-
The
z
read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Z axis in aDeviceMotionEventAcceleration
object.no setter
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