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

ModeInfo

open class ModeInfo : Parcelable

See Also <a href="http://skedgo.github.io/tripgo-api/site/faq/#mode-identifiers">Mode Identifiers</a>

Constructors

Name Summary
<init> ModeInfo()

Properties

Name Summary
CREATOR static val CREATOR: Creator<ModeInfo!>!
MAP_LIST_SIZE_RATIO static val MAP_LIST_SIZE_RATIO:Float

Functions

Name Summary
describeContents open fun describeContents():Int
getAlternativeText Indicates a human-readable name of the transport (e.g, "Train").open fun getAlternativeText():String
getColor open fun getColor():ServiceColor?
getDescription open fun getDescription():String!
getId open fun getId():String?
getLocalIconName open fun getLocalIconName():String!
getModeCompat open fun getModeCompat():VehicleMode!
getRemoteDarkIconName open fun getRemoteDarkIconName():String?
getRemoteIconIsTemplate open fun getRemoteIconIsTemplate():Boolean
getRemoteIconName open fun getRemoteIconName():String!
setAlternativeText open fun setAlternativeText(alternativeText:String!):Unit
setColor open fun setColor(color:ServiceColor!):Unit
setDescription open fun setDescription(description:String!):Unit
setId open fun setId(id:String!):Unit
setLocalIconName open fun setLocalIconName(localIconName:String!):Unit
setRemoteDarkIconName open fun setRemoteDarkIconName(remoteDarkIconName:String!):Unit
setRemoteIconIsTemplate open fun setRemoteIconIsTemplate(remoteIconIsTemplate:Boolean):Unit
setRemoteIconName open fun setRemoteIconName(remoteIconName:String!):Unit
writeToParcel open fun writeToParcel(dest: Parcel!, flags:Int):Unit

Extension Functions

Name Summary
toEntity funModeInfo.toEntity():ModeInfoEntity