TencentNavKit

Instance Methods | List of all members
<TNKAudioPlayerDelegate> Protocol Reference

内置语音播报器事件回调. More...

`#import <TNKAudioPlayerProtocol.h>`

Inheritance diagram for <TNKAudioPlayerDelegate>:

## Instance Methods
(void) | - invokeAudioPlayerWillStartPlaying:
| 播报开始回调. More...
(void) | - audioPlayerDidFinishPlaying:
| 播报完成回调. More...
(void) | - audioPlayerDidFinishPlaying:text:successfully:
| 播报完成回调. More...

## Detailed Description

内置语音播报器事件回调.

## Method Documentation

## ◆ audioPlayerDidFinishPlaying:

- (void) audioPlayerDidFinishPlaying: |  | (id< TNKAudioPlayerProtocol >) | player |

播报完成回调.

Parameters

  player | 语音播报器.

## ◆ audioPlayerDidFinishPlaying:text:successfully:

- (void) audioPlayerDidFinishPlaying: |  | (id< TNKAudioPlayerProtocol >) | player
text: |  | (NSString *) | text
successfully: |  | (BOOL) | flag

播报完成回调.

Parameters

  player | 语音播报器.
  text | 播报的文案
  flag | 是否成功

## ◆ invokeAudioPlayerWillStartPlaying:

- (void) invokeAudioPlayerWillStartPlaying: |  | (id< TNKAudioPlayerProtocol >) | player |

播报开始回调.

Parameters

  player | 语音播报器.

The documentation for this protocol was generated from the following file:

- TNKAudioPlayerProtocol.h