Pepper_42_C++_interfaces
|
#include <subtitle_listener_samsung.h>
Public Member Functions | |
virtual | ~SubtitleListener_Samsung () |
virtual void | OnShowSubtitle (PP_TimeDelta duration, const char *text)=0 |
Protected Member Functions | |
SubtitleListener_Samsung () | |
SubtitleListener_Samsung (MediaPlayer_Samsung *player) | |
Constructor which creates listener attached to the |player|. More... | |
void | AttachTo (MediaPlayer_Samsung *player) |
Attaches listener to the |player|. More... | |
Listener for receiving subtitle updates provided by the player's internal subtitle parser. This listener will be notified every time active and visible text track contains a subtitle that should be displayed at the current playback position.
Definition at line 23 of file subtitle_listener_samsung.h.
|
virtual |
|
protected |
The default constructor which creates listener not attached to the player
|
explicitprotected |
Constructor which creates listener attached to the |player|.
|
protected |
Attaches listener to the |player|.
|
pure virtual |
Event sent when a subtitle should be displayed.
[in] | duration | Duration for which the text should be displayed. |
[in] | text | The UTF-8 encoded string that contains a subtitle text that should be displayed. Please note text encoding will be UTF-8 independently from the source subtitle file encoding. |