Enabled

A Permitted State indicating location is being collected

Properties

Link copied to clipboard
abstract val deinitialized: suspend () -> LocationState.Deinitialized

Transitions into a Deinitialized State

Link copied to clipboard
abstract val disable: suspend () -> LocationState.Disabled.NoGPS

Transitions into a Disabled.NoGPS State

Link copied to clipboard
abstract val location: Location

The Location during this state

Link copied to clipboard

Transitions into a Disabled.NotPermitted State

Functions

Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S
Link copied to clipboard
abstract fun updateWithLocation(location: Location.KnownLocation): suspend () -> LocationState.Enabled

Transitions into an Enabled State with a new Location.KnownLocation