ActivityType enum Null safety

The different types of activities which can be detected. These types is identical to the types detected on Android and iOS types are mapped to these.

Constants

IN_VEHICLE → const ActivityType
const ActivityType(0)
INVALID → const ActivityType
const ActivityType(8)
ON_BICYCLE → const ActivityType
const ActivityType(1)
ON_FOOT → const ActivityType
const ActivityType(2)
RUNNING → const ActivityType
const ActivityType(3)
STILL → const ActivityType
const ActivityType(4)
TILTING → const ActivityType
const ActivityType(5)
UNKNOWN → const ActivityType
const ActivityType(6)
values → const List<ActivityType>

A constant List of the values in this enum, in order of their declaration.

const List<ActivityType>
WALKING → const ActivityType
const ActivityType(7)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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