8 #ifndef PPAPI_C_SAMSUNG_PPP_MEDIA_PLAYER_SAMSUNG_H_
9 #define PPAPI_C_SAMSUNG_PPP_MEDIA_PLAYER_SAMSUNG_H_
16 #define PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE_1_0 \
17 "PPP_MediaEventsListener_Samsung;1.0"
18 #define PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE \
19 PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE_1_0
21 #define PPP_SUBTITLELISTENER_SAMSUNG_INTERFACE_1_0 \
22 "PPP_SubtitleListener_Samsung;1.0"
23 #define PPP_SUBTITLELISTENER_SAMSUNG_INTERFACE \
24 PPP_SUBTITLELISTENER_SAMSUNG_INTERFACE_1_0
26 #define PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE_1_0 \
27 "PPP_BufferingListener_Samsung;1.0"
28 #define PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE \
29 PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE_1_0
31 #define PPP_DRMLISTENER_SAMSUNG_INTERFACE_1_0 "PPP_DRMListener_Samsung;1.0"
32 #define PPP_DRMLISTENER_SAMSUNG_INTERFACE PPP_DRMLISTENER_SAMSUNG_INTERFACE_1_0
155 uint32_t init_data_size,
156 const void* init_data,
void(* OnInitdataLoaded)(PP_MediaPlayerDRMType drm_type, uint32_t init_data_size, const void *init_data, void *user_data)
void(* OnShowSubtitle)(PP_TimeDelta duration, const char *text, void *user_data)
void(* OnBufferingStart)(void *user_data)
void(* OnBufferingComplete)(void *user_data)
void(* OnBufferingProgress)(uint32_t percent, void *user_data)
void(* OnLicenseRequest)(uint32_t request_size, const void *request, void *user_data)