KNGuidance_LocationGuideDelegate
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
A delegate that represents the location. Called when the guidance location changes while driving. All callbacks are delivered on the main thread.
TIP
Currently, it is called every time a GPS signal is received.
Example code — KNGuidance_LocationGuideDelegate
kotlin
interface KNGuidance_LocationGuideDelegateMethods
guidanceDidUpdateLocation
Called when the location information changes. Delivered when one or more items of locationGuide change. Among the detailed items of locationGuide, items with no change are delivered as the same object as before.
kotlin
abstract fun guidanceDidUpdateLocation( guidance: KNGuidance,
locationGuide: KNGuide_Location ): UnitParameters
| Name | Description |
|---|---|
guidance | Route guidance feature and route information |
locationGuide | Location guidance information |