KNRoadEvent
INFO
This English reference is based on Directions SDK 1.12.12. For the latest version, see the Korean reference.
- Inherits from: NSObject
- Declared in: KNRoadEvent.h
Provides traffic incident information — road passage restriction information due to traffic accidents, construction, and similar events (traffic incident information).
Properties
| Name | Description | Type |
|---|---|---|
location | Location of the traffic incident information along the route | @property (nonatomic, readonly) KNLocation *location |
icon | Displays the traffic incident information icon | @property (nonatomic, readonly) UIImage *icon |
code | Traffic incident information code (0: accident, 1: construction, 2: event, 3: control) | @property (nonatomic, readonly) SInt32 code |
title | Name of the traffic incident information | @property (nonatomic, readonly) NSString *title |
pos | Actual position of the information | @property (nonatomic, readonly) IntPoint pos |
startTime | Start date and time of the traffic incident information | @property (nonatomic, readonly) NSDate *startTime |
endTime | End date and time of the traffic incident information | @property (nonatomic, readonly) NSDate *endTime |
desc | Detailed description of the traffic incident information | @property (nonatomic, readonly) NSString *desc |
type | Traffic incident type (0: no closure, 1: fully closed road, 2: partially closed road) | @property (nonatomic, readonly) SInt32 type |