tripkit-android / com.skedgo.tripkit.common.model / TransportMode

TransportMode

open class TransportMode

Constructors

Name Summary
<init> TransportMode()

Properties

Name Summary
ID_AIR static val ID_AIR:String
ID_BICYCLE static val ID_BICYCLE:String
ID_CAR static val ID_CAR:String
ID_MOTORBIKE static val ID_MOTORBIKE:String
ID_PUBLIC_TRANSPORT static val ID_PUBLIC_TRANSPORT:String
ID_SCHOOL_BUS static val ID_SCHOOL_BUS:String
ID_SHUFFLE static val ID_SHUFFLE:String
ID_SHUTTLE_BUS FIXME: It seems we no longer need this id. Replacement seems to be 'pt_ltd_SCHOOLBUS'.static val ID_SHUTTLE_BUS:String
ID_TAXI static val ID_TAXI:String
ID_TNC static val ID_TNC:String
ID_WALK static val ID_WALK:String
ID_WHEEL_CHAIR static val ID_WHEEL_CHAIR:String
MIDDLE_FIX_BIC static val MIDDLE_FIX_BIC:String
MIDDLE_FIX_CAR static val MIDDLE_FIX_CAR:String

Functions

Name Summary
equals open fun equals(other:Any?):Boolean
fromId open static fun fromId(id:String):TransportMode!
getColor open fun getColor():ServiceColor?
getDarkIcon open fun getDarkIcon():String?
getIconId open fun getIconId():String!
getId open fun getId():String!
getImplies open fun getImplies():ArrayList<String!>?
getLocalIconResId open static fun getLocalIconResId(identifier:String?):Int
getTitle open fun getTitle():String!
getURL open fun getURL():String?
isRequired open fun isRequired():Boolean
setDarkIcon open fun setDarkIcon(darkIcon:String!):Unit
setIconId open fun setIconId(iconId:String!):Unit
setId open fun setId(id:String!):Unit
setImplies open fun setImplies(implies:ArrayList<String!>!):Unit
setRequired open fun setRequired(isRequired:Boolean):Unit
setTitle open fun setTitle(title:String!):Unit
setURL open fun setURL(URL:String!):Unit
toString open fun toString():String