KNGuidance_VoiceGuideDelegate
INFO
This English reference is based on Directions SDK 1.12.12. For the latest version, see the Korean reference.
- Declared in: KNGuidance.h
A voice guidance delegate that requests and delivers information related to the start and end of voice guidance. All callbacks are delivered on the main thread.
Methods
guidance:didFinishPlayVoiceGuide
Ends voice guidance.
objc
- (void) guidance: (KNGuidance *) aGuidance
didFinishPlayVoiceGuide: (KNGuide_Voice *) aVoiceGuideParameters
| Name | Description |
|---|---|
aGuidance | Route guidance feature and route information |
aVoiceGuide | Guidance voice information |
guidance:shouldPlayVoiceGuide:replaceSndData
Sets whether to use voice guidance. (YES: enabled / NO: disabled)
objc
- (BOOL) guidance: (KNGuidance *) aGuidance
shouldPlayVoiceGuide: (KNGuide_Voice *) aVoiceGuide
replaceSndData: (NSData **) aNewDataParameters
| Name | Description |
|---|---|
aGuidance | Route guidance feature and route information |
aVoiceGuide | Guidance voice information |
aNewData | Voice data to change. When changed, guidance is provided with that voice. When changing the voice data file provided by the Directions SDK with UI, the following file format must be observed. [File format: .mp3, Bitrate: 128 kbit/s, Audio channel: monophonic sound] |
guidance:willPlayVoiceGuide
Starts voice guidance.
objc
- (void) guidance: (KNGuidance *) aGuidance
willPlayVoiceGuide: (KNGuide_Voice *) aVoiceGuideParameters
| Name | Description |
|---|---|
aGuidance | Route guidance feature and route information |
aVoiceGuide | Guidance voice information |