TrackingStatus

sealed interface TrackingStatus

Represents the current status of a Geolocator tracking operation.

Inheritors

Types

Link copied to clipboard

Tracker has encountered an error and is no longer active.

Link copied to clipboard
data object Idle : TrackingStatus

Tracker is idle and waiting to start.

Link copied to clipboard
data object Tracking : TrackingStatus

Tracker is actively tracking the user's location, and waiting for an update.

Link copied to clipboard
class Update(val location: Location) : TrackingStatus

Tracker has received an update to the user's location.

Properties

Link copied to clipboard
open val isActive: Boolean

Check whether the tracking status is active.