Constructor 링크 복사

예시 코드 초기화하기
// <init>
KNRoadEvent(location: KNLocation, roadEventInfo: KNRoute_RoadEventInfo, icon: Bitmap?)
// <init>
KNRoadEvent(location: KNLocation, roadEventInfo: KNRoute_RoadEventInfo, icon: Bitmap?)
코드가 숨겨졌습니다.
표 1 Properties
Name Description Type
location 경로상 유고 정보 위치 val location: KNLocation
icon 유고 정보 아이콘 표시 val icon: Bitmap?
code 유고 정보 코드

(0: 사고, 1: 공사, 2: 행사, 3: 통제)
val code: Int
title 유고 정보 명칭 val title: String
pos 해당 정보의 실제 위치 val pos: IntPoint
startTime 유고 정보 발생 일시 val startTime: Calendar
endTime 유고 정보 종료 일시 val endTime: Calendar
desc 유고 정보 상세 설명 val desc: String
type 유고 타입

(0: 통제 없음, 1: 전면 통제 도로, 2: 부분 통제 도로)
val type: Int