SenseDataFactory class abstract Sensor Data Source
Sense data factory
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
-
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 Methods
-
positionFromExternalData(
ExternalPositionData data) → GemPosition - Converts ExternalPositionData to GemPosition
-
produceAcceleration(
{DateTime? acquisitionTime, double x = 0.0, double y = 0.0, double z = 0.0, UnitOfMeasurementAcceleration unit = UnitOfMeasurementAcceleration.g}) → Acceleration - Produces a new Acceleration from provided parameters
-
produceActivity(
{DateTime? acquisitionTime, ActivityType activityType = ActivityType.unknown, ActivityConfidence confidence = ActivityConfidence.unknown}) → Activity - Produces a new Activity from provided parameters
-
produceAttitude(
{DateTime? acquisitionTime, double roll = 0.0, double pitch = 0.0, double yaw = 0.0, double rollNoise = 0.0, double pitchNoise = 0.0, double yawNoise = 0.0, bool hasRollNoise = false, bool hasPitchNoise = false, bool hasYawNoise = false}) → Attitude - Produces a new Attitude from provided parameters
-
produceBattery(
{DateTime? acquisitionTime, int level = 0, BatteryState state = BatteryState.unknown, BatteryHealth health = BatteryHealth.unknown, bool lowBatteryNoticed = false, PluggedType pluggedType = PluggedType.unplugged, int voltage = 0, int temperature = 0}) → Battery - Produces a new Battery from provided parameters
-
produceCompass(
{DateTime? acquisitionTime, double heading = 0.0, CompassAccuracy accuracy = CompassAccuracy.unknown}) → Compass - Produces a new Compass from provided parameters
-
produceHeartRate(
{DateTime? acquisitionTime, int heartRate = 0}) → HeartRate - Produces a new HeartRate from provided parameters
-
produceMagneticField(
{DateTime? acquisitionTime, double x = 0.0, double y = 0.0, double z = 0.0}) → MagneticField - Produces a new MagneticField from provided parameters
-
produceMountInformation(
{DateTime? acquisitionTime, bool isMountedForCameraUse = false, bool isPortraitMode = false}) → MountInformation - Produces a new MountInformation from provided parameters
-
produceOrientation(
{DateTime? acquisitionTime, OrientationType orientation = OrientationType.unknown, FaceType face = FaceType.unknown}) → Orientation - Produces a new Orientation from provided parameters
-
producePosition(
{DateTime? acquisitionTime, DateTime? satelliteTime, Provider provider = Provider.unknown, PositionQuality fixQuality = PositionQuality.high, double latitude = 0.0, double longitude = 0.0, double altitude = 0.0, double speed = 0.0, double speedAccuracy = -1.0, double course = 0.0, double courseAccuracy = -1.0, double accuracyH = -1.0, double accuracyV = -1.0, bool hasCoordinates = true, bool hasAltitude = true, bool hasSpeed = true, bool hasSpeedAccuracy = false, bool hasCourse = true, bool hasCourseAccuracy = false, bool hasHorizontalAccuracy = false, bool hasVerticalAccuracy = false}) → GemPosition - Produces a new GemPosition from provided parameters
-
produceRotationRate(
{DateTime? acquisitionTime, double x = 0.0, double y = 0.0, double z = 0.0}) → RotationRate - Produces a new RotationRate from provided parameters
-
produceTemperature(
{DateTime? acquisitionTime, double temperature = 0.0, TemperatureLevel level = TemperatureLevel.unknown}) → Temperature - Produces a new Temperature from provided parameters