KNGuidance_SafetyGuideDelegate
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
A safe driving delegate. Called when the safe driving information changes. All callbacks are delivered on the main thread.
Example code — KNGuidance_SafetyGuideDelegate
kotlin
interface KNGuidance_SafetyGuideDelegateMethods
guidanceDidUpdateAroundSafeties
Updates the surrounding safe driving information.
kotlin
abstract fun guidanceDidUpdateAroundSafeties( guidance: KNGuidance,
safeties: List<KNSafety>? ): UnitParameters
| Name | Description |
|---|---|
guidance | Route guidance feature and route information |
safeties | Surrounding safe driving information |
guidanceDidUpdateSafetyGuide
Updates the safe driving information. Delivered when one or more items of safetyGuide change. Among the detailed items of safetyGuide, items with no change are delivered as the same object as before.
kotlin
abstract fun guidanceDidUpdateSafetyGuide( guidance: KNGuidance,
safetyGuide: KNGuide_Safety? ): UnitParameters
| Name | Description |
|---|---|
guidance | Route guidance feature and route information |
safetyGuide | Safe driving information |