current

abstract suspend fun current(priority: Priority = Priority.Balanced): GeolocatorResult

Get the current location.

Return

A GeolocatorResult with the success or error state.

Parameters

priority

The priority of the location request.


abstract suspend fun current(request: LocationRequest): GeolocatorResult

Get the current location.

Return

A GeolocatorResult with the success or error state.

Parameters

request

The location request details.