MMKDrivingEvent
Warning
This feature is available in the Full MapKit SDK version
|
@interface MMKDrivingEvent : NSObject |
Road event.
Summary
Class methods
|
+ (nonnull MMKDrivingEvent *)eventWithPolylinePosition:(nonnull MMKPolylinePosition *)polylinePosition |
Properties
|
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *polylinePosition; |
|
@property (nonatomic, readonly, nonnull) NSString *eventId; |
|
@property (nonatomic, readonly, nullable) NSString *descriptionText; |
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tags; |
|
@property (nonatomic, readonly, nonnull) MMKPoint *location; |
|
@property (nonatomic, readonly, nullable) NSNumber *speedLimit; |
Class methods
eventWithPolylinePosition:eventId:descriptionText:tags:location:speedLimit:
|
+ (nonnull MMKDrivingEvent *)eventWithPolylinePosition:(nonnull MMKPolylinePosition *)polylinePosition |
Properties
polylinePosition
|
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *polylinePosition; |
The position of the polyline.
eventId
|
@property (nonatomic, readonly, nonnull) NSString *eventId; |
The unique ID of the event.
descriptionText
|
@property (nonatomic, readonly, nullable) NSString *descriptionText; |
The description of the event.
Optional field, can be nil.
tags
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tags; |
The types of the road event.
location
|
@property (nonatomic, readonly, nonnull) MMKPoint *location; |
The location of the road event.
speedLimit
|
@property (nonatomic, readonly, nullable) NSNumber *speedLimit; |
The speed limit on the road. Valid only for cameras.
Optional field, can be nil.