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

#include <ppp_media_player_samsung.h>

Public Attributes

void(* OnTimeUpdate )(PP_TimeTicks time, void *user_data)
 
void(* OnEnded )(void *user_data)
 
void(* OnError )(PP_MediaPlayerError error, void *user_data)
 

Detailed Description

Structure containing pointers to functions provided by plugin, and called when player or playback related event occurs.

Member Data Documentation

void(* PPP_MediaEventsListener_Samsung_1_0::OnEnded)(void *user_data)

Played clip has ended.

Parameters
[in]user_dataA pointer to user data passed to a listener function.
void(* PPP_MediaEventsListener_Samsung_1_0::OnError)(PP_MediaPlayerError error, void *user_data)

Error during playback has occurred.

Parameters
[in]errorAn error code signalizing type of occurred error.
[in]user_dataA pointer to user data passed to a listener function.
void(* PPP_MediaEventsListener_Samsung_1_0::OnTimeUpdate)(PP_TimeTicks time, void *user_data)

Event sent periodically during clip playback and indicates playback progress.

Event will be sent at least twice per second.

Parameters
[in]timecurrent media time.
[in]user_dataA pointer to user data passed to a listener function.

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