Request

data class Request(val minIntervalMilliseconds: Long = 1000, val maxIntervalMilliseconds: Long = 2000, val minUpdateDistanceMeters: Float = 0.0f, val maxUpdateDelayMilliseconds: Long = 1000, val accuracy: LocationEngine.Request.Accuracy = Accuracy.HIGH)

Request to configure location updates parameters

Constructors

Link copied to clipboard
constructor(minIntervalMilliseconds: Long = 1000, maxIntervalMilliseconds: Long = 2000, minUpdateDistanceMeters: Float = 0.0f, maxUpdateDelayMilliseconds: Long = 1000, accuracy: LocationEngine.Request.Accuracy = Accuracy.HIGH)

Types

Link copied to clipboard

Accuracy type of location updates.

Properties

Link copied to clipboard

Accuracy type for location fetching

Link copied to clipboard

Maximum interval between location updates. This is the slowest interval that will be used to get location updates.

Link copied to clipboard

Maximum delay between location updates. If the location updates occur at shorter intervals, they may be sent as a batch

Link copied to clipboard

Minimum interval between location updates. This is the fastest interval that will be used to get location updates.

Link copied to clipboard

Minimum distance between location updates. All updates that are closer than this distance will be ignored.