-
- 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 class
TimedRestrictionInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private Integer
startLegIndex
private Integer
startStepIndex
private Integer
endLegIndex
private Integer
endStepIndex
private Float
distanceFromRouteStart
private Float
affectedLength
-
Method Summary
Modifier and Type Method Description final Integer
getStartLegIndex()
zero based of start leg index of this restriction final Unit
setStartLegIndex(Integer startLegIndex)
zero based of start leg index of this restriction final Integer
getStartStepIndex()
zero based of start step index of this restriction final Unit
setStartStepIndex(Integer startStepIndex)
zero based of start step index of this restriction final Integer
getEndLegIndex()
zero based of end leg index of this restriction final Unit
setEndLegIndex(Integer endLegIndex)
zero based of end leg index of this restriction final Integer
getEndStepIndex()
zero based of end step index of this restriction final Unit
setEndStepIndex(Integer endStepIndex)
zero based of end step index of this restriction final Float
getDistanceFromRouteStart()
distance from the start of route to the start of this restriction area, in meters final Unit
setDistanceFromRouteStart(Float distanceFromRouteStart)
distance from the start of route to the start of this restriction area, in meters final Float
getAffectedLength()
the length of this restriction area, in meters final Unit
setAffectedLength(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
-
-
-
-