Skip to content

Update Documentation for LocationRequest Configuration (Release v4.1.1) #82

@panos-stavrianos

Description

@panos-stavrianos

I recently updated to Release v4.1.1 and encountered some deprecated functions within the location request configuration. The new recommended approach in this release is to use the LocationRequest.Builder for location request configuration.
I guess the docs are not updated yet, can you provide an example on how to use it?

Deprecated code snippet:

Locus.configure {
    request {
        fastestInterval = 1000
        priority = LocationRequest.PRIORITY_HIGH_ACCURACY
        interval = 1000
        maxWaitTime = 2000
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions