KNSoundPlayerDelegate
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
Called when the voice guidance output information is updated.
Example code — KNSoundPlayerDelegate
kotlin
interface KNSoundPlayerDelegateProperties
| Name | Description | Type |
|---|---|---|
delegate | Delegate that represents the SoundPlayer state | var delegate: KNSoundPlayerDelegate? |
Methods
soundPlayerDidFinishPlaySounds
Delivered at the moment voice guidance ends.
kotlin
abstract fun soundPlayerDidFinishPlaySounds( soundPlayer: KNSoundPlayer ): UnitParameters
| Name | Description |
|---|---|
soundPlayer | Sound player |
soundPlayerWillPlaySounds
Delivered at the moment voice guidance is played.
kotlin
abstract fun soundPlayerWillPlaySounds( soundPlayer: KNSoundPlayer ): UnitParameters
| Name | Description |
|---|---|
soundPlayer | Sound player |