/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.routing/RoutingConfig
RoutingConfig
\ data class RoutingConfig(val preferredTransferTime: Duration = Duration.ofMinutes(3), val walkingSpeed: WalkingSpeed = WalkingSpeed.Medium, val cyclingSpeed: CyclingSpeed = CyclingSpeed.Medium, val rollingSpeed: RollingSpeed = RollingSpeed.Medium, val unit: String = "auto", val shouldUseConcessionPricing: Boolean = false, val isOnWheelchair: Boolean = false, val weightingProfile: WeightingProfile = WeightingProfile())
Constructors
| RoutingConfig | constructor(preferredTransferTime: Duration = Duration.ofMinutes(3), walkingSpeed: WalkingSpeed = WalkingSpeed.Medium, cyclingSpeed: CyclingSpeed = CyclingSpeed.Medium, rollingSpeed: RollingSpeed = RollingSpeed.Medium, unit: String = "auto", shouldUseConcessionPricing: Boolean = false, isOnWheelchair: Boolean = false, weightingProfile: WeightingProfile = WeightingProfile()) |
Properties
| Name | Summary |
|---|---|
| cyclingSpeed | val cyclingSpeed: CyclingSpeed |
| isOnWheelchair | val isOnWheelchair: Boolean = false |
| preferredTransferTime | val preferredTransferTime: Duration |
| rollingSpeed | val rollingSpeed: RollingSpeed |
| shouldUseConcessionPricing | val shouldUseConcessionPricing: Boolean = false |
| unit | val unit: String |
| walkingSpeed | val walkingSpeed: WalkingSpeed |
| weightingProfile | val weightingProfile: WeightingProfile |
Functions
| Name | Summary |
|---|---|
| toConfigDto | fun RoutingConfig.toConfigDto(): ConfigDto |