tripkit-android / com.skedgo.tripkit / TripPreferences
TripPreferences
interface TripPreferences
Functions
Name | Summary |
---|---|
isConcessionPricingPreferred | This option should be used when `[ RegionInfo#supportsConcessionPricing()](../../com.skedgo.tripkit.data.tsp/-region-info/supports-concession-pricing.md) is true. abstract fun isConcessionPricingPreferred(): [ Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
isWheelchairPreferred | This option should be used when `[ RegionInfo#transitWheelchairAccessibility()](../../com.skedgo.tripkit.data.tsp/-region-info/transit-wheelchair-accessibility.md) is true. abstract fun isWheelchairPreferred(): [ Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
setConcessionPricingPreferred | abstract fun setConcessionPricingPreferred(isConcessionPricingPreferred: Boolean ): Unit |
setWheelchairPreferred | abstract fun setWheelchairPreferred(isWheelchairPreferred: Boolean ): Unit |
whenConcessionPricingPreferenceChanges | abstract fun whenConcessionPricingPreferenceChanges(): Observable< Boolean !>! |
whenWheelchairPreferenceChanges | abstract fun whenWheelchairPreferenceChanges(): Observable< Boolean !>! |
Inheritors
Name | Summary |
---|---|
DefaultTripPreferences | class DefaultTripPreferences : TripPreferences |