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

VehicleMode

class VehicleMode

As of v11, this denotes local transport icons.

See Also {@link ModeInfo}

Enum Values

Name Summary
AEROPLANE
BICYCLE_SHARE
BICYCLE
BUS
CABLECAR
CAR_POOL
CAR_RIDE_SHARE
CAR_SHARE
CAR
COACH
FERRY
MONORAIL
MOTORBIKE
PARKING
PUBLIC_TRANSPORT
SHUTTLE_BUS
SUBWAY
TAXI
TRAIN_INTERCITY
TRAIN
TRAM
WALK
WHEEL_CHAIR
FUNICULAR
TOLL

Functions

Name Summary
from static fun from(key:String!):VehicleMode?
getIconRes fun getIconRes():Int
getMapIconRes fun getMapIconRes(resources: Resources): Drawable!
getPublicTransportModes static fun getPublicTransportModes():Array<VehicleMode!>!
getRealTimeIconRes fun getRealTimeIconRes():Int
getRealtimeMapIconRes fun getRealtimeMapIconRes(resources: Resources): Drawable!
isPublicTransport fun isPublicTransport():Boolean