KNNaviView_GuideStateDelegate
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 guide state of KNNaviView. Called when the navigation guide state changes while driving. All callbacks are delivered on the main thread.
Example code — KNNaviView_GuideStateDelegate
kotlin
interface KNNaviView_GuideStateDelegateMethods
naviViewGuideState
Called when the guide state of KNNaviView changes.
kotlin
abstract fun naviViewGuideState( state: KNGuideState ): UnitParameters
| Name | Description |
|---|---|
state | The state of KNGuideState |
naviViewGuideEnded
Called when guidance ends by pressing the guidance end button during route guidance or safe driving.
kotlin
abstract fun naviViewGuideEnded(): Unit