mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-22 07:06:05 +00:00
19 lines
409 B
Kotlin
19 lines
409 B
Kotlin
package com.bitchat.android.geohash
|
|
|
|
import android.location.Address
|
|
|
|
/**
|
|
* Interface for reverse geocoding providers.
|
|
*/
|
|
interface GeocoderProvider {
|
|
/**
|
|
* Get a list of Address objects from latitude and longitude.
|
|
*/
|
|
suspend fun getFromLocation(
|
|
latitude: Double,
|
|
longitude: Double,
|
|
maxResults: Int,
|
|
liveLocationToken: Long? = null
|
|
): List<Address>
|
|
}
|