KNHighwayRG_TG
INFO
This English reference is based on Directions SDK with UI 1.12.8-hotfix02 (as of 2026-07-24). For the latest version, see the Korean reference.
Provides highway tollgate (TG) information and the current location along the route.
Example code — KNHighwayRG_TG
kotlin
class KNHighwayRG_TG : KNHighwayRGConstructor
Example code — Initialization
kotlin
// <init>
KNHighwayRG_TG(rgIdx: Int, nodeName: String?, location: KNLocation, tollFare: Int)Properties
| Name | Description | Type |
|---|---|---|
nodeName | Name of the highway tollgate point | val nodeName: String? |
location | Current location information along the route | val location: KNLocation |
tollFare | Toll fee (unit: KRW) | val tollFare: Int |
Methods
highwayRGType
Provides information about highway interchanges, junctions, tollgates, service areas, and more. This is an overridden function that returns KNHighwayRGType.KNHighwayRGType_TG.
kotlin
fun highwayRGType(): KNHighwayRGType