LocationRequest

Preferences for foreground location updates.

A provider applies each preference when its platform supports that setting. A platform may ignore a preference that its location API cannot express.

Throws

if minimumInterval or minimumDistance is negative.

Constructors

Link copied to clipboard
constructor(from: LocationRequest = Standard, block: LocationRequest.Builder.() -> Unit)

Edits from; omitted settings inherit.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Requested accuracy and power tradeoff.

Link copied to clipboard
val minimumDistance: Length

Preferred minimum movement between delivered locations. Must not be negative.

Link copied to clipboard

Preferred minimum time between delivered locations. Must not be negative.