Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_DeviceControl_Samsung_0_1 Struct Reference

#include <ppb_device_control_samsung.h>

Collaboration diagram for PPB_DeviceControl_Samsung_0_1:
Collaboration graph

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)
 

Detailed Description

Interface implemented by browser for to retriev service list

Definition at line 36 of file ppb_device_control_samsung.h.

Member Data Documentation

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.

Parameters
[in]resourceA PP_Resource identifying source control resource.
[in]sourceID A uint32_t identifying source to change to.
[in]callbackPP_CompletionCallback that will be called upon completion.
Returns
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.

Parameters
[in]instanceA PP_Instance identifying one instance of a module.
Returns
A 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.

Parameters
[in]resourceA PP_Resource identifying resource that will be checked.
Returns
PP_TRUE if resource identifying program schedule and PP_FALSE otherwise.

Definition at line 56 of file ppb_device_control_samsung.h.


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