ThreeJsSensors class
Constructors
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
-
absoluteOrientation(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< AbsoluteOrientationEvent> -
accelerometer(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< AccelerometerEvent> -
gyroscope(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< GyroscopeEvent> -
isAbsoluteOrientationAvailable(
) → Future< bool> - Determines whether absolute orientation is available.
-
isAccelerometerAvailable(
) → Future< bool> - Determines whether accelerometer is available.
-
isGyroscopeAvailable(
) → Future< bool> - Determines whether gyroscope is available.
-
isMagnetometerAvailable(
) → Future< bool> - Determines whether magnetometer is available.
-
isOrientationAvailable(
) → Future< bool> - Determines whether orientation is available.
-
isSensorAvailable(
SensorType sensorType) → Future< bool> - Determines whether sensor is available.
-
isUserAccelerationAvailable(
) → Future< bool> - Determines whether user accelerometer is available.
-
magnetometer(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< MagnetometerEvent> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
screenOrientation(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< ScreenOrientationEvent> -
toString(
) → String -
A string representation of this object.
inherited
-
userAccelerometer(
{Duration samplingPeriod = SensorInterval.normalInterval}) → Stream< UserAccelerometerEvent>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited