Class Event
com.yandex.mapkit.driving
java.lang.Object ⇽ Event
public class Event
Constructors
Event() | Use constructor with parameters in your code. |
Event(PolylinePosition polylinePosition, String eventId, String descriptionText, List< EventType > types, Point location, Float speedLimit, AnnotationSchemeID annotationSchemeId) |
Event() | Use constructor with parameters in your code. |
Event(PolylinePosition polylinePosition, String eventId, String descriptionText, List< EventType > types, Point location, Float speedLimit, AnnotationSchemeID annotationSchemeId) |
Methods
synchronized AnnotationSchemeID | getAnnotationSchemeId() | valid only for cameras |
synchronized String | getDescriptionText() | Optional field, can be null. |
synchronized String | getEventId() | |
synchronized Point | getLocation() | |
String | getNativeName() | |
synchronized PolylinePosition | getPolylinePosition() | |
synchronized Float | getSpeedLimit() | Optional field, can be null. |
synchronized List< EventType > | getTypes() | |
void | serialize(Archive archive) |
synchronized AnnotationSchemeID | getAnnotationSchemeId() | valid only for cameras |
synchronized String | getDescriptionText() | Optional field, can be null. |
synchronized String | getEventId() | |
synchronized Point | getLocation() | |
String | getNativeName() | |
synchronized PolylinePosition | getPolylinePosition() | |
synchronized Float | getSpeedLimit() | Optional field, can be null. |
synchronized List< EventType > | getTypes() | |
void | serialize(Archive archive) |
Constructor Detail
Event
public Event ()
Use constructor with parameters in your code.
This one is for serialization only!Event
public Event (PolylinePosition polylinePosition, String eventId, String descriptionText, List< EventType > types, Point location, Float speedLimit, AnnotationSchemeID annotationSchemeId)
Method Detail
getAnnotationSchemeId
public synchronized AnnotationSchemeID getAnnotationSchemeId ()
valid only for cameras
Optional field, can be null.getDescriptionText
public synchronized String getDescriptionText ()
Optional field, can be null.
getEventId
public synchronized String getEventId ()
getLocation
public synchronized Point getLocation ()
getNativeName
public static String getNativeName ()
getPolylinePosition
public synchronized PolylinePosition getPolylinePosition ()
getSpeedLimit
public synchronized Float getSpeedLimit ()
Optional field, can be null.
getTypes
public synchronized List< EventType > getTypes ()
serialize
public void serialize (Archive archive)