/tripkit/TripKitAndroid/com.skedgo.tripkit/TransportModeFilter
TransportModeFilter
\ interface TransportModeFilter : Parcelable
Functions
| Name | Summary |
|---|---|
| avoidTransportMode | open fun avoidTransportMode(mode: String): Boolean Used when routing to decide which transport modes to avoid, such as a route where public transit is returned from transportModes but you want to avoid ferries by specifying "pt_pub_ferry" as one to avoid. The default implementation does not avoid any modes. |
| describeContents | abstract fun describeContents(): Int |
| getFilteredMode | abstract fun getFilteredMode(originalModes: List<String>): List<String> |
| useTransportMode | open fun useTransportMode(mode: String): Boolean Used when routing to specify the desired transit modes. The default implementation supports all modes available in a region. |
| writeToParcel | abstract fun writeToParcel(p0: Parcel, p1: Int) |