/tripkit/TripKitAndroid/com.skedgo.tripkit

Package-level declarations

Types

Name Summary
AddCustomHeaders class AddCustomHeaders(getAppVersion: GetAppVersion, getLocale: () -> Locale, getUuid: Callable<String>?, getUserToken: Callable<String>?, getKey: () -> Key, preferences: SharedPreferences?) : Interceptor
AndroidGeocoder class AndroidGeocoder(context: Context) : ReverseGeocodable
BaseUrlOverridingInterceptor class BaseUrlOverridingInterceptor(baseUrlAdapter: Callable<String>) : Interceptor
BookingAction @Value.Immutable
abstract class BookingAction
CarPark @Gson.TypeAdapters
@Value.Immutable
abstract class CarPark
Co2Preferences interface Co2Preferences
Configs interface Configs
DataLoader abstract class DataLoader<TData> : Callable<Observable<TData>>
DateTimePickerConfig data class DateTimePickerConfig(val dateTimePickerLeaveAtLabel: String, val dateTimePickerArriveByLabel: String, val dateTimePickerMinuteInterval: Int = 1, val isWithLeaveNow: Boolean = true)
DefaultCo2Preferences class DefaultCo2Preferences(preferences: SharedPreferences) : Co2Preferences
DefaultTripPreferences class DefaultTripPreferences(preferences: SharedPreferences) : TripPreferences
ErrorHandlingInterceptor open class ErrorHandlingInterceptor(appDeactivatedListener: () -> Unit? = null) : Interceptor
ExternalActionParams @Value.Immutable
abstract class ExternalActionParams
LineSegment class LineSegment(val start: TripKitLatLng, val end: TripKitLatLng, val color: Int, val tag: String, val tripUuid: String? = null)
Represents a segment of a polyline denoting a Trip.
LocationInfo @Gson.TypeAdapters
@Value.Immutable
interface LocationInfo
LocationInfoApi interface LocationInfoApi
LocationInfoDetails @Gson.TypeAdapters
@Value.Immutable
abstract class LocationInfoDetails
LocationInfoService interface LocationInfoService
MainModule @Module
class MainModule(configs: Configs)
ModeCombinationStrategy class ModeCombinationStrategy : BiFunction<Map<String, TransportMode>, List<String>, List<Set<String>>>
NoConnectionError class NoConnectionError(detailMessage: String) : RoutingError
OnSubscribeLoadRegions class OnSubscribeLoadRegions(databaseHelper: SQLiteOpenHelper) : ObservableOnSubscribe<Cursor>
OnSubscribeSaveRegionsResponse class OnSubscribeSaveRegionsResponse(database: SQLiteDatabase, response: RegionsResponse) : ObservableOnSubscribe<Void>
OutOfRegionsException class OutOfRegionsException(detailMessage: String?, latitude: Double, longitude: Double) : RuntimeException
PeriodicRealTimeTripUpdateReceiver @Value.Immutable
abstract class PeriodicRealTimeTripUpdateReceiver : RealTimeTripUpdateReceiver
QueryGenerator interface QueryGenerator : BiFunction<Query, TransportModeFilter, Observable<@JvmSuppressWildcardsList<Query>>>
RealTimeTripUpdateReceiver interface RealTimeTripUpdateReceiver
RegionDatabaseHelper class RegionDatabaseHelper(context: Context?, name: String?) : SQLiteOpenHelper
RegionFinder class RegionFinder
RegionsApi interface RegionsApi
RoutesScreenConfig data class RoutesScreenConfig(val popUpDateTimePickerOnOpen: Boolean = false)
RoutingError open class RoutingError(detailMessage: String) : RuntimeException
RoutingUserError class RoutingUserError(detailMessage: String) : RoutingError
ServiceApi interface ServiceApi
ServiceExtras class ServiceExtras(val platform: String?, val stops: List<ServiceStop>?)
ServiceResponse @Value.Immutable
@Gson.TypeAdapters
interface ServiceResponse
TemporaryUrlApi @JvmSuppressWildcards
interface TemporaryUrlApi
Handles downloading trip via Trip.getTemporaryURL.
TransitService @Value.Immutable
@Gson.TypeAdapters
interface TransitService
TransportModeConfig data class TransportModeConfig(val defaultSelectedModesIds: List<String> = emptyList(), val defaultUnSelectedModesIds: List<String> = emptyList())
TransportModeFilter interface TransportModeFilter : Parcelable
TripKitConfigs @Value.Immutable
abstract class TripKitConfigs : Configs
TripKitConstants class TripKitConstants
TripPreferences interface TripPreferences
TripRegionResolver abstract class TripRegionResolver : BiFunction<T1, T2, R>
TripUpdateApi interface TripUpdateApi
TripUpdater interface TripUpdater
Utils object Utils

Properties

Name Summary
LOCATION_NOT_SUPPORTED_ERROR const val LOCATION_NOT_SUPPORTED_ERROR: String

Functions

Name Summary
checkIfLocationProviderIsEnabled fun Context.checkIfLocationProviderIsEnabled(): Boolean
toException fun <T : Any, U : Any> NetworkResponse<T, U>.toException(): Exception