Constructor 링크 복사

예시 코드 초기화하기
// <init>
KNPOI()
KNPOI(parcel: Parcel)
KNPOI(poi: KNPOI)
KNPOI(name: String, x: Int, y: Int, address: String? = null, poiId: String? = null, rpFlag: String? = null)
KNPOI(name: String, pos: IntPoint)
KNPOI(dic: JSONObject)
// <init>
KNPOI()
KNPOI(parcel: Parcel)
KNPOI(poi: KNPOI)
KNPOI(name: String, x: Int, y: Int, address: String? = null, poiId: String? = null, rpFlag: String? = null)
KNPOI(name: String, pos: IntPoint)
KNPOI(dic: JSONObject)
코드가 숨겨졌습니다.
표 1 Properties
Name Description Type
name 장소 이름 var name: String
pos 해당 정보의 실제 위치 var pos: IntPoint
address 주소 var address: String?
poiId 관심 지점 아이디 poiId: String?
rpFlag 경로 옵션 rpFlag: String?