Kindling
Toggle table of contents
SNAPSHOT
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Kindling
android
/
dev.kindling.android.natif
/
LocationHelper
/
getCurrentLocation
get
Current
Location
@
RequiresPermission
(
anyOf
=
[
"android.permission.ACCESS_FINE_LOCATION"
,
"android.permission.ACCESS_COARSE_LOCATION"
]
)
suspend
fun
getCurrentLocation
(
config
:
LocationConfig
=
LocationConfig.Balanced
)
:
Location
?
(
source
)