8 #ifndef PPAPI_C_SAMSUNG_PPP_MEDIA_PLAYER_SAMSUNG_H_
9 #define PPAPI_C_SAMSUNG_PPP_MEDIA_PLAYER_SAMSUNG_H_
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_size.h"
13 #include "ppapi/c/pp_stdint.h"
14 #include "ppapi/c/pp_time.h"
15 #include "ppapi/c/samsung/pp_media_player_samsung.h"
17 #define PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE_0_1 \
18 "PPP_MediaEventsListener_Samsung;0.1"
19 #define PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE \
20 PPP_MEDIAEVENTSLISTENER_SAMSUNG_INTERFACE_0_1
22 #define PPP_MEDIAMETADATALISTENER_SAMSUNG_INTERFACE_0_1 \
23 "PPP_MediaMetadataListener_Samsung;0.1"
24 #define PPP_MEDIAMETADATALISTENER_SAMSUNG_INTERFACE \
25 PPP_MEDIAMETADATALISTENER_SAMSUNG_INTERFACE_0_1
27 #define PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE_0_1 \
28 "PPP_BufferingListener_Samsung;0.1"
29 #define PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE \
30 PPP_BUFFERINGLISTENER_SAMSUNG_INTERFACE_0_1
32 #define PPP_DRMLISTENER_SAMSUNG_INTERFACE_0_1 "PPP_DRMListener_Samsung;0.1"
33 #define PPP_DRMLISTENER_SAMSUNG_INTERFACE PPP_DRMLISTENER_SAMSUNG_INTERFACE_0_1
170 uint32_t init_data_size,
171 const void* init_data,
void(* OnBufferingProgress)(uint32_t percent, void *user_data)
void(* OnLicenseRequest)(uint32_t request_size, const void *request, void *user_data)
void(* OnBufferingComplete)(void *user_data)
void(* OnBufferingStart)(void *user_data)
void(* OnInitdataLoaded)(PP_MediaPlayerDRMType drm_type, uint32_t init_data_size, const void *init_data, void *user_data)