tripkit-android / com.skedgo / TripKit

TripKit

@Singleton @Component([HttpClientModule, A2bRoutingDataModule, TspModule, MainModule]) abstract class TripKit

Constructors

Name Summary
<init> TripKit()

Functions

Name Summary
a2bRoutingComponent abstract fun a2bRoutingComponent():A2bRoutingComponent!
analyticsComponent abstract fun analyticsComponent():AnalyticsComponent!
configs abstract fun configs():Configs!
dateTimeComponent abstract fun dateTimeComponent():DateTimeComponent!
getBookingResolver abstract fun getBookingResolver():BookingResolver!
getErrorHandler abstract fun getErrorHandler(): Consumer<Throwable!>!
getInstance open static fun getInstance():TripKit!
getLocationInfoService abstract fun getLocationInfoService():LocationInfoService!
getOkHttpClient3 abstract fun getOkHttpClient3(): OkHttpClient!
getRegionService abstract fun getRegionService():RegionService!
getRouteService abstract fun getRouteService():RouteService!
getTripUpdater abstract fun getTripUpdater():TripUpdater!
initialize This gives a chance to provide a custom [`TripKit`](./index.md). One idea is that we can createDaggerTripKit w/ some customized modules. open static fun initialize(context: Context, tripKit:TripKit):Unitopen static fun initialize(configs:Configs!):Unit
isInitialized open static fun isInitialized():Boolean