ActivityDatum class

Holds activity information.

Inheritance
Annotations

Constructors

ActivityDatum()
ActivityDatum.fromActivity(Activity activity)
factory
ActivityDatum.fromJson(Map<String, dynamic> json)
factory
ActivityDatum.fromMap(Map map)

Properties

confidence int
Confidence in activity recognition.
read / write
format DataFormat
The DataFormat of this Datum.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Unique identifier for the current Datum, unique across all data generated.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timestamp DateTime
The UTC timestamp for generating this data on the device.
read / write, inherited
type String
Type of activity recognized. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Return a JSON encoding of this datum.
override
toString() String
A string representation of this object. [...]
override

Operators

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

Constants

CARP_DATA_FORMAT → const DataFormat
The DataFormat of this type of CARPDatum.
DataFormat(NameSpace.CARP, ContextSamplingPackage.ACTIVITY)