-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EdgeRestrictionInfo implements Parcelable
Represents restriction information encountered on a route.
This structure describes the type of restriction applied to certain route edges and keeps track of all affected edge indices.
RestrictionType indicates the category of restriction (e.g., access restriction, private access, gate control).
edge_indices contains the indices of route edges where this restriction occurs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
EdgeRestrictionInfo.RestrictionType
-
Field Summary
Fields Modifier and Type Field Description private final EdgeRestrictionInfo.RestrictionType
type
private final Integer
typeOrdinal
private final List<RouteEdgeIndex>
edgeIndices
-
Constructor Summary
Constructors Constructor Description EdgeRestrictionInfo(Integer typeOrdinal, List<RouteEdgeIndex> edgeIndices)
-
Method Summary
Modifier and Type Method Description final EdgeRestrictionInfo.RestrictionType
getType()
final Integer
getTypeOrdinal()
final List<RouteEdgeIndex>
getEdgeIndices()
The indices of all route edges in the route where the restriction is broken. String
toString()
-
-
Constructor Detail
-
EdgeRestrictionInfo
EdgeRestrictionInfo(Integer typeOrdinal, List<RouteEdgeIndex> edgeIndices)
-
-
Method Detail
-
getType
final EdgeRestrictionInfo.RestrictionType getType()
-
getTypeOrdinal
final Integer getTypeOrdinal()
-
getEdgeIndices
final List<RouteEdgeIndex> getEdgeIndices()
The indices of all route edges in the route where the restriction is broken.
-
-
-
-