RichUtils / pyxis.uzuki.live.richutilskt.service / RLocationService / setLocationCallback

setLocationCallback

fun setLocationCallback(callback: (Location) -> Unit): Unit
fun setLocationCallback(callback: F1<Location>): Unit

Set callback for location service. any location updates will invoke this callback (except new location data is not-best-location.)