Package-level declarations

Types

Link copied to clipboard
data class Address(val streetNumber: String = "", val streetName: String = "", val municipalitySubdivision: String = "", val municipality: String = "", val countrySecondarySubdivision: String = "", val countryTertiarySubdivision: String = "", val countrySubdivision: String = "", val postalCode: String = "", val extendedPostalCode: String = "", val countryCode: String = "", val country: String = "", val countryCodeIso3: String = "", val freeformAddress: String = "", val countrySubdivisionName: String = "", val localName: String = "", val streetNameAndNumber: String = "", val postalName: String = "", val countrySubdivisionCode: String = "", val neighborhoodName: String = "")

Detailed address information.

Link copied to clipboard
class EntryPoint(val type: EntryType, val position: GeoPoint)

The Point Of Interest entry point.

Link copied to clipboard
value class EntryType

Defines the type of the entrance.

Link copied to clipboard
data class GeoBias(val coordinate: GeoPoint, val radius: Distance)

Implementation of the GeoPoint with a radius.

Link copied to clipboard
data class GeoBoundingBox(val topLeft: GeoPoint, val bottomRight: GeoPoint)

Represents a bounding box for the map. It's defined in the WGS84 format.

Link copied to clipboard
data class GeoBounds(val coordinates: List<GeoPoint>) : Parcelable

Represents geographical bounds determined by the given list of GeoPoint elements. Throws an IllegalArgumentException if the list of coordinates is empty.

Link copied to clipboard
data class GeoLineSegment(val begin: GeoPoint, val end: GeoPoint)

Implementation of a line segment that represents a line between the two geographic coordinates.

Link copied to clipboard
data class GeoLocation(val position: GeoPoint, val accuracy: Distance? = null, val course: Angle? = null, val speed: Speed? = null, val altitude: Distance? = null, val time: Long = System.currentTimeMillis(), val elapsedRealtimeNanos: Long = SystemClock.elapsedRealtimeNanos(), val provider: String = DEFAULT_PROVIDER, val providerType: LocationProviderType = LocationProviderType.REALTIME, val extras: Bundle? = null)

Geographical representation of a certain location. It provides additional attributes like speed or bearing what can be useful in navigation applications.

Link copied to clipboard
data class GeoPoint(@FloatRange(from = -90.0, to = 90.0) val latitude: Double, @FloatRange(from = -180.0, to = 180.0) val longitude: Double) : Parcelable

The implementation of geographic coordinates.

Link copied to clipboard

The source that provides the location.

Link copied to clipboard
class Place

Represents a geographical location and its details.