Pepper_42_C++_interfaces
|
#include <service_list_samsung.h>
Public Member Functions | |
ServiceListSamsung (const InstanceHandle &instance) | |
ServiceListSamsung () | |
ServiceListSamsung (PP_Resource resource) | |
ServiceListSamsung (PassRef, PP_Resource resource) | |
ServiceListSamsung (const ServiceListSamsung &other) | |
int32_t | ListServices (const CompletionCallbackWithOutput< std::vector< ProgramScheduleSamsung > > &callback) |
int32_t | MonitorScheduleChanges (PPB_ProgramSchedule_Monitoring_Callback callback, void *user_data) |
int32_t | FindService (const struct PP_SearchCriteria *criteria, const CompletionCallbackWithOutput< ProgramScheduleSamsung > &callback) |
int32_t | ChangeService (uint64_t serviceID, const CompletionCallback &callback) |
![]() | |
Resource () | |
The default constructor. More... | |
Resource (const Resource &other) | |
virtual | ~Resource () |
Destructor. More... | |
Resource & | operator= (const Resource &other) |
bool | is_null () const |
PP_Resource | pp_resource () const |
PP_Resource | detach () |
Additional Inherited Members | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 23 of file service_list_samsung.h.
pp::ServiceListSamsung::ServiceListSamsung | ( | const InstanceHandle & | instance | ) |
pp::ServiceListSamsung::ServiceListSamsung | ( | ) |
pp::ServiceListSamsung::ServiceListSamsung | ( | PP_Resource | resource | ) |
pp::ServiceListSamsung::ServiceListSamsung | ( | PassRef | , |
PP_Resource | resource | ||
) |
pp::ServiceListSamsung::ServiceListSamsung | ( | const ServiceListSamsung & | other | ) |
int32_t pp::ServiceListSamsung::ChangeService | ( | uint64_t | serviceID, |
const CompletionCallback & | callback | ||
) |
ChangeService() changes current service to one identified by provided serviceID.
[in] | serviceID | uint32_t for service identification. |
[in] | callback | CompletionCallback that will be run when output will be ready. |
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::FindService | ( | const struct PP_SearchCriteria * | criteria, |
const CompletionCallbackWithOutput< ProgramScheduleSamsung > & | callback | ||
) |
FindService() finds first ProgramScheduleSamsung
identifying first Program Schedule Resource fitting criteria.
[in] | criteria | PP_SearchCriteria for service search. |
[in] | callback | CompletionCallbackWithOutput that will be run when output will be ready. |
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::ListServices | ( | const CompletionCallbackWithOutput< std::vector< ProgramScheduleSamsung > > & | callback | ) |
ListServices() provides list ProgramScheduleSamsung
identifying available Program Schedule Resources for available services.
[in] | callback | CompletionCallbackWithOutput that will be run when output will be ready. |
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::MonitorScheduleChanges | ( | PPB_ProgramSchedule_Monitoring_Callback | callback, |
void * | user_data | ||
) |