/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.model/Query
Query
\ class Query : Parcelable
Represents a query to find routes from A to B.
Note that, to avoid TransactionTooLargeException
, it's discouraged to pass any instance of Query
to an Intent
or a Bundle
. The Parcelable
is subject to deletion at anytime.
Constructors
Query | constructor() |
Types
Name | Summary |
---|---|
Companion | object Companion |
Properties
Name | Summary |
---|---|
arriveBy | val arriveBy: Long |
budgetWeight | var budgetWeight: Int |
cyclingSpeed | var cyclingSpeed: Int |
departAfter | val departAfter: Long |
environmentWeight | var environmentWeight: Int |
excludedStopCodes | var excludedStopCodes: List<String> |
fromLocation | var fromLocation: Location? |
hassleWeight | var hassleWeight: Int |
maxWalkingTime | var maxWalkingTime: Int This is only used for XUM project. TripGo may not need it. See more: https://www.flowdock.com/app/skedgo/androiddev/threads/nZJbtLU0jgsgziQpuoqhcaB-U9A. |
region | var region: Region? This method is deprecated. Region will be chosen using the from and to location. |
timeTag | var timeTag: TimeTag? |
timeWeight | var timeWeight: Int |
toLocation | var toLocation: Location? |
transferTime | var transferTime: Int |
transportModeIds | var transportModeIds: MutableList<String> |
unit | var unit: String? |
walkingSpeed | var walkingSpeed: Int |
Functions
Name | Summary |
---|---|
clone | fun clone(cloneTransportMode: Boolean = false): Query |
describeContents | open override fun describeContents(): Int |
destinationIsCurrentLocation | fun destinationIsCurrentLocation(): Boolean |
equals | open operator override fun equals(o: Any?): Boolean |
hashCode | open override fun hashCode(): Int |
originIsCurrentLocation | fun originIsCurrentLocation(): Boolean |
setUseWheelchair | fun setUseWheelchair(useWheelchair: Boolean) |
useWheelchair | fun useWheelchair(): Boolean |
uuid | fun uuid(): String |
writeToParcel | open override fun writeToParcel(dest: Parcel, flags: Int) |