Class YMKDrivingEvent

Road event.

Class Methods

Properties

annotationSchemeId

valid only for cameras The SchemeId of the annotation.

descriptionText

The description of the event.

eventId

The unique ID of the event.

location

The location of the road event.

polylinePosition

The position of the polyline.

speedLimit

The speed limit on the road.

types

The types of the road event.

Method Detail

+eventWithPolylinePosition:eventId:descriptionText:types:location:speedLimit:annotationSchemeId:

+ (nonnull YMKDrivingEvent *)eventWithPolylinePosition:(nonnull YMKPolylinePosition *)polylinePosition
                                               eventId:(nonnull NSString *)eventId
                                       descriptionText:(nullable NSString *)descriptionText
                                                 types:(nonnull NSArray< NSNumber * > *)types
                                              location:(nonnull YMKPoint *)location
                                            speedLimit:(nullable NSNumber *)speedLimit
                                    annotationSchemeId:(nullable NSNumber *)annotationSchemeId 

Property Detail

annotationSchemeId

(assign, readonly) NSNumber * annotationSchemeId

valid only for cameras The SchemeId of the annotation.

Optional property, can be null.

descriptionText

(assign, readonly) NSString * descriptionText

The description of the event.

Optional property, can be null.

eventId

(assign, readonly) NSString * eventId

The unique ID of the event.

location

(assign, readonly) YMKPoint * location

The location of the road event.

polylinePosition

(assign, readonly) YMKPolylinePosition * polylinePosition

The position of the polyline.

speedLimit

(assign, readonly) NSNumber * speedLimit

The speed limit on the road.

Optional property, can be null.

types

(assign, readonly) NSArray< NSNumber * > * types

The types of the road event.