Pepper_47_C_interfaces
Public Attributes | List of all members
PPP_SubtitleListener_Samsung_1_0 Struct Reference

#include <ppp_media_player_samsung.h>

Collaboration diagram for PPP_SubtitleListener_Samsung_1_0:
Collaboration graph

Public Attributes

void(* OnShowSubtitle )(PP_TimeDelta duration, const char *text, void *user_data)
 

Detailed Description

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 87 of file ppp_media_player_samsung.h.

Member Data Documentation

void(* PPP_SubtitleListener_Samsung_1_0::OnShowSubtitle)(PP_TimeDelta duration, const char *text, void *user_data)

Event sent when a subtitle should be displayed.

Parameters
[in]durationDuration for which the text should be displayed.
[in]textThe 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.
[in]user_dataA pointer to user data passed to a listener function.

Definition at line 97 of file ppp_media_player_samsung.h.


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