Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPP_SubtitleListener_Samsung_1_0 Struct Reference

#include <ppp_media_player_samsung.h>

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.

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.

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