KNNaviView_GuideStateDelegate
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