Class RoadEventTapInfo
com.yandex.mapkit.traffic
java.lang.Object ⇽ RoadEventTapInfo
public class RoadEventTapInfo
Road event tap object meta information.
Constructors
RoadEventTapInfo() | Use constructor with parameters in your code. |
RoadEventTapInfo(String id, String descriptionText, EventType type) |
RoadEventTapInfo() | Use constructor with parameters in your code. |
RoadEventTapInfo(String id, String descriptionText, EventType type) |
Methods
synchronized String | getDescriptionText() | Road event description. |
synchronized String | getId() | Road event identifier. |
String | getNativeName() | |
synchronized EventType | getType() | Road event type. |
void | serialize(Archive archive) |
synchronized String | getDescriptionText() | Road event description. |
synchronized String | getId() | Road event identifier. |
String | getNativeName() | |
synchronized EventType | getType() | Road event type. |
void | serialize(Archive archive) |
Constructor Detail
RoadEventTapInfo
public RoadEventTapInfo ()
Use constructor with parameters in your code.
This one is for serialization only!RoadEventTapInfo
public RoadEventTapInfo (String id, String descriptionText, EventType type)
Method Detail
getDescriptionText
public synchronized String getDescriptionText ()
Road event description.
getId
public synchronized String getId ()
Road event identifier.
getNativeName
public static String getNativeName ()
getType
public synchronized EventType getType ()
Road event type.
New road event types may be introduced, so clients should be ready to process them as the 'OTHER' type or ignore them.serialize
public void serialize (Archive archive)