/tripkit/CommonCoreLegacy/com.skedgo.tripkit.routing/VehicleMode
VehicleMode
enum VehicleMode : Enum<VehicleMode>
As of v11, this denotes local transport icons.
See also
{@link ModeInfo} |
Entries
Types
Name | Summary |
---|---|
Companion | object Companion |
Properties
Name | Summary |
---|---|
entries | val entries: EnumEntries<VehicleMode> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
iconRes | @JvmField @get:DrawableRes val iconRes: Int |
isPublicTransport | val isPublicTransport: Boolean |
name | val name: String |
ordinal | val ordinal: Int |
realTimeIconRes | @get:DrawableRes var realTimeIconRes: Int |
Functions
Name | Summary |
---|---|
getMapIconRes | fun getMapIconRes(context: Context): Drawable? |
getRealtimeMapIconRes | fun getRealtimeMapIconRes(context: Context): Drawable? |
valueOf | fun valueOf(value: String): VehicleMode Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
values | fun values(): Array<VehicleMode> Returns an array containing the constants of this enum type, in the order they're declared. |