Package cloud.pace.sdk.poikit.poi

Types

Address
Link copied to clipboard
class Address(encodedAddress: String) : Parcelable

Represents an address with house number and street name.

Amenity
Link copied to clipboard
enum Amenity : Enum<Amenity>
Day
Link copied to clipboard
enum Day : Enum<Day>
Food
Link copied to clipboard
enum Food : Enum<Food>
FuelType
Link copied to clipboard
enum FuelType : Enum<FuelType>
GasStation
Link copied to clipboard
open class GasStation(id: String, geometry: ArrayList<Geometry.CommandGeo>) : PointOfInterest

Point of Interest - Gas station with opening hours, prices and payment methods.

Geometry
Link copied to clipboard
class Geometry
IDNotificationToken
Link copied to clipboard
class IDNotificationToken(id: String, gasStationDao: GasStationDAO, completion: (Completion<GasStation>) -> Unit) : PoiKitObserverToken
IDsNotificationToken
Link copied to clipboard
class IDsNotificationToken(ids: List<String>, gasStationDao: GasStationDAO, completion: (Completion<List<PointOfInterest>>) -> Unit) : PoiKitObserverToken
LocationPoint
Link copied to clipboard
data class LocationPoint(lat: Double, lon: Double) : Parcelable

Representation of a lat/lon location on earth. Similar to Google's LatLng. We use our own class for the JUnit tests.

LocationsNotificationToken
Link copied to clipboard
class LocationsNotificationToken(locations: Map<String, LocationPoint>, gasStationDao: GasStationDAO, completion: (Completion<List<PointOfInterest>>) -> Unit) : PoiKitObserverToken
LoyaltyProgram
Link copied to clipboard
enum LoyaltyProgram : Enum<LoyaltyProgram>
OpeningHour
Link copied to clipboard
data class OpeningHour(from: String, to: String)
OpeningHours
Link copied to clipboard
data class OpeningHours(days: List<Day>, hours: List<OpeningHour>, rule: OpeningRule?)

An opening hour rule consists of a list of days where the rule applies, a range of hours on the days and a rule stating if the gas station i open or closed during the specified time interval(s).

OpeningRule
Link copied to clipboard
enum OpeningRule : Enum<OpeningRule>
PaymentMethod
Link copied to clipboard
enum PaymentMethod : Enum<PaymentMethod>
PoiKitObserverToken
Link copied to clipboard
open class PoiKitObserverToken : CloudSDKKoinComponent
POILayer
Link copied to clipboard
enum POILayer : Enum<POILayer>
Point
Link copied to clipboard
data class Point(coordX: Double, coordY: Double) : Parcelable

Point representing a coordinate (not necessarily lat/lon).

PointOfInterest
Link copied to clipboard
abstract class PointOfInterest(id: String, geometry: ArrayList<Geometry.CommandGeo>)

Superclass of all Point of Interests.

PostalService
Link copied to clipboard
enum PostalService : Enum<PostalService>
Price
Link copied to clipboard
data class Price(type: FuelType, name: String?, price: Double?)

A fuel price entry, consisting of a FuelType, a display name and a price. The price includes VAT.

PriceSuggestion
Link copied to clipboard
enum PriceSuggestion : Enum<PriceSuggestion>
Service
Link copied to clipboard
enum Service : Enum<Service>
ShopGood
Link copied to clipboard
enum ShopGood : Enum<ShopGood>
VisibleRegionNotificationToken
Link copied to clipboard
class VisibleRegionNotificationToken(visibleRegion: VisibleRegion, padding: Double, gasStationDao: GasStationDAO, completion: (Completion<List<PointOfInterest>>) -> Unit) : PoiKitObserverToken

Functions

toAddress
Link copied to clipboard
fun HashMap<String, String>.toAddress(): Address?
toLocationPoint
Link copied to clipboard
fun Location.toLocationPoint(): LocationPoint
fun LatLng.toLocationPoint(): LocationPoint
toTileQueryRequest
Link copied to clipboard
fun LocationPoint.toTileQueryRequest(zoomLevel: Int): <ERROR CLASS>
fun Collection<LocationPoint>.toTileQueryRequest(zoomLevel: Int): <ERROR CLASS>