-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class TimedRestrictionInfo implements Parcelable
The data structure of timed restriction information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTimedRestrictionInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private IntegerstartLegIndexprivate IntegerstartStepIndexprivate IntegerendLegIndexprivate IntegerendStepIndexprivate FloatdistanceFromRouteStartprivate FloataffectedLength
-
Method Summary
Modifier and Type Method Description final IntegergetStartLegIndex()zero based of start leg index of this restriction final UnitsetStartLegIndex(Integer startLegIndex)zero based of start leg index of this restriction final IntegergetStartStepIndex()zero based of start step index of this restriction final UnitsetStartStepIndex(Integer startStepIndex)zero based of start step index of this restriction final IntegergetEndLegIndex()zero based of end leg index of this restriction final UnitsetEndLegIndex(Integer endLegIndex)zero based of end leg index of this restriction final IntegergetEndStepIndex()zero based of end step index of this restriction final UnitsetEndStepIndex(Integer endStepIndex)zero based of end step index of this restriction final FloatgetDistanceFromRouteStart()distance from the start of route to the start of this restriction area, in meters final UnitsetDistanceFromRouteStart(Float distanceFromRouteStart)distance from the start of route to the start of this restriction area, in meters final FloatgetAffectedLength()the length of this restriction area, in meters final UnitsetAffectedLength(Float affectedLength)the length of this restriction area, in meters -
-
Method Detail
-
getStartLegIndex
final Integer getStartLegIndex()
zero based of start leg index of this restriction
-
setStartLegIndex
final Unit setStartLegIndex(Integer startLegIndex)
zero based of start leg index of this restriction
-
getStartStepIndex
final Integer getStartStepIndex()
zero based of start step index of this restriction
-
setStartStepIndex
final Unit setStartStepIndex(Integer startStepIndex)
zero based of start step index of this restriction
-
getEndLegIndex
final Integer getEndLegIndex()
zero based of end leg index of this restriction
-
setEndLegIndex
final Unit setEndLegIndex(Integer endLegIndex)
zero based of end leg index of this restriction
-
getEndStepIndex
final Integer getEndStepIndex()
zero based of end step index of this restriction
-
setEndStepIndex
final Unit setEndStepIndex(Integer endStepIndex)
zero based of end step index of this restriction
-
getDistanceFromRouteStart
final Float getDistanceFromRouteStart()
distance from the start of route to the start of this restriction area, in meters
-
setDistanceFromRouteStart
final Unit setDistanceFromRouteStart(Float distanceFromRouteStart)
distance from the start of route to the start of this restriction area, in meters
-
getAffectedLength
final Float getAffectedLength()
the length of this restriction area, in meters
-
setAffectedLength
final Unit setAffectedLength(Float affectedLength)
the length of this restriction area, in meters
-
-
-
-