Pepper_47_C_interfaces
|
#include <ppb_device_control_samsung.h>
Public Attributes | |
PP_Resource(* | Create )(PP_Instance instance) |
PP_Bool(* | IsDeviceControl )(PP_Resource resource) |
int32_t(* | ChangeSource )(PP_Resource resource, uint32_t sourceID, struct PP_CompletionCallback callback) |
Interface implemented by browser for to retriev service list
Definition at line 36 of file ppb_device_control_samsung.h.
int32_t(* PPB_DeviceControl_Samsung_0_1::ChangeSource)(PP_Resource resource, uint32_t sourceID, struct PP_CompletionCallback callback) |
ChangeSource() changes current TV source to the specified one.
[in] | resource | A PP_Resource identifying source control resource. |
[in] | source | ID A uint32_t identifying source to change to. |
[in] | callback | PP_CompletionCallback that will be called upon completion. |
PP_Error with error code.
Definition at line 71 of file ppb_device_control_samsung.h.
PP_Resource(* PPB_DeviceControl_Samsung_0_1::Create)(PP_Instance instance) |
Create() creates an service list resource.
[in] | instance | A PP_Instance identifying one instance of a module. |
PP_Resource
containing the service list resource if successful or 0 if resource cannot be created. Definition at line 46 of file ppb_device_control_samsung.h.
PP_Bool(* PPB_DeviceControl_Samsung_0_1::IsDeviceControl)(PP_Resource resource) |
IsDeviceControl() checks if provided resource is source control.
[in] | resource | A PP_Resource identifying resource that will be checked. |
PP_TRUE if resource identifying program schedule and PP_FALSE otherwise.
Definition at line 56 of file ppb_device_control_samsung.h.