SkedGo Logo TripKit SDK for Android
  • Getting Started
  • Guide
    • TripKit Map Fragment
    • Location Search
    • Trip Results
    • Service & Stop Detail
    • Routes for region
    • Get off alerts
    • Viewcontroller
  • SDK Reference
  • API
  • Developer
    • Docs
    • API
    • iOS
    • Android
    • React
  • SkedGo
  • Log in
  • Sign up
  • Getting Started
  • Guide
    • TripKit Map Fragment
    • Location Search
    • Trip Results
    • Service & Stop Detail
    • Routes for region
    • Get off alerts
    • Viewcontroller
  • SDK Reference
  • API
  • Docs
  • API
  • iOS
  • Android
  • React
  • SkedGo
  • Log in
  • Sign up
  • CursorToServiceConverter
  • Constructors
  • Types
  • Properties
  • Functions

/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.data/CursorToServiceConverter

CursorToServiceConverter

\ class CursorToServiceConverter@Injectconstructor(gson: Gson) : CursorToEntityConverter<TimetableEntry>

Constructors

CursorToServiceConverter @Inject
constructor(gson: Gson)

Types

Name Summary
ServiceColumnIndices class ServiceColumnIndices
NOTE: Don't hard code column indices

Properties

Name Summary
bicycleAccessible val bicycleAccessible: Boolean?
endStopCode val endStopCode: String
endTimeInSecs val endTimeInSecs: Long
frequency val frequency: Int
id val id: Long
isFavourite val isFavourite: Boolean
mode val mode: VehicleMode?
pairIdentifier val pairIdentifier: String
realTimeStatus val realTimeStatus: RealTimeStatus?
searchString val searchString: String
serviceColorBlue val serviceColorBlue: Int
serviceColorGreen val serviceColorGreen: Int
serviceColorRed val serviceColorRed: Int
serviceName val serviceName: String
serviceNumber val serviceNumber: String
serviceOperator val serviceOperator: String
serviceTime val serviceTime: Long
serviceTripId val serviceTripId: String
startStopShortName val startStopShortName: String
startTimeInSecs val startTimeInSecs: Long
stopCode val stopCode: String
wheelchairAccessible val wheelchairAccessible: Boolean?

Functions

Name Summary
apply open override fun apply(cursor: Cursor): TimetableEntry
setCursor fun setCursor(cursor: Cursor)
TripKit SDK for Android
  • Pricing
  • Report issue
  • Email support