RoadObject
Abstract class that serves as a base for all road objects. There are two sources of road objects: active route and the electronic horizon. Objects coming from different sources might be duplicated and they will not have the same IDs.
Parameters
id of the road object. If we get the same objects (e.g. RoadObjectType.TUNNEL) from the electronic horizon and the active route, they will not have the same IDs.
constant describing the object type, see RoadObjectType. Available road object types are:
length of the object, null if the object is point-like.
location of the road object. Road objects coming from the electronic horizon might have the next RoadObjectLocationType:
Road objects coming from the active route will have only RoadObjectLocationType:
provider of the road object
true whenever RoadObject is in urban area, false otherwise. null if road object cannot be defined if one is in urban or not (most probably is in both at the same time)