sdk-common / com.tomtom.online.sdk.common.util / Contextable

Contextable

interface Contextable

Interface that represents objects that are context aware.

Functions

getContext

abstract fun getContext(): Context?

Returns associated context object.

Inheritors

AndroidStringFormatter

interface AndroidStringFormatter<T : Any!> : Contextable

Format data using strings from android resources.

FusedLocationSource

open class FusedLocationSource : LocationCallback, LocationSource, ConnectionCallbacks, OnConnectionFailedListener, Contextable

Default location source implementation. It is based on FusedLocationService provided by Google. When no custom location source provided, map is using it to get the user location. It uses {LocationUpdateListener} to notify about new location updates.

SingleManifestValueLoader

open class SingleManifestValueLoader : Contextable

Load one value from manifest.