Home > @magiclane/maps-sdk > DataInterruptionReason

DataInterruptionReason enum

Data interruption reason Sensor Data Source

Signature:

export declare enum DataInterruptionReason 

Enumeration Members

Member

Value

Description

appSentToBackground

2

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

audioDeviceInUseByAnotherClient

10

The audio device is currently in use by another client.

deviceOrientationChanged

5

The device orientation has changed, affecting sensor data.

inUseByAnotherClient

6

The sensor is currently in use by another client.

locationProvidersChanged

3

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

notAvailableDueToSystemPressure

8

Data is not available due to system resource pressure.

notAvailableInBackground

9

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

notAvailableWithMultipleForegroundApps

7

Data collection is not available due to multiple foreground applications.

sensorConfigurationChanged

4

The configuration of the sensor has changed.

sensorStopped

1

The sensor that generates the data has stopped operating.

unknown

0

The reason for the data interruption is unknown.

videoDeviceInUseByAnotherClient

11

The video device is currently in use by another client.