DataInterruptionReason enum Sensor Data Source

Data interruption reason

Inheritance
Available extensions

Values

unknown → const DataInterruptionReason

The reason for the data interruption is unknown.

sensorStopped → const DataInterruptionReason

The sensor that generates the data has stopped operating.

appSentToBackground → const DataInterruptionReason

The application has been sent to the background, interrupting data collection.

locationProvidersChanged → const DataInterruptionReason

The position data source has changed (e.g., from GPS to Network).

sensorConfigurationChanged → const DataInterruptionReason

The configuration of the sensor has changed.

deviceOrientationChanged → const DataInterruptionReason

The device orientation has changed, affecting sensor data.

inUseByAnotherClient → const DataInterruptionReason

The sensor is currently in use by another client.

notAvailableWithMultipleForegroundApps → const DataInterruptionReason

Data collection is not available due to multiple foreground applications.

notAvailableDueToSystemPressure → const DataInterruptionReason

Data is not available due to system resource pressure.

notAvailableInBackground → const DataInterruptionReason

Data collection is not available while the application is in the background.

audioDeviceInUseByAnotherClient → const DataInterruptionReason

The audio device is currently in use by another client.

videoDeviceInUseByAnotherClient → const DataInterruptionReason

The video device is currently in use by another client.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<DataInterruptionReason>
A constant List of the values in this enum, in order of their declaration.