tripkit-android / com.skedgo.tripkit.routing / RoutingResponse

RoutingResponse

open class RoutingResponse

Constructors

Name Summary
<init> RoutingResponse()

Properties

Name Summary
FORMAT_DIRECTION static val FORMAT_DIRECTION:String

Functions

Name Summary
createSegmentTemplateMap open fun createSegmentTemplateMap(segmentTemplates:ArrayList<JsonObject!>!): SparseArray<JsonObject!>!
getAlerts open fun getAlerts():ArrayList<RealtimeAlert!>!
getErrorMessage open fun getErrorMessage():String!
getRegionName open fun getRegionName():String!
getTripGroupList open fun getTripGroupList():ArrayList<TripGroup!>!
hasError open fun hasError():Boolean
processDirectionTemplate Replaces '' with segment's 'serviceDirection'open static fun processDirectionTemplate(serviceDirectionNode: JsonPrimitive!, notes:String!):String!
processRawData open fun processRawData(resources: Resources!, gson: Gson!):Unit
open fun processRawData(resources: Resources!, gson: Gson!, tripGroups:ArrayList<TripGroup!>!, segmentTemplateMap: SparseArray<JsonObject!>!):ArrayList<TripGroup!>!