#include <program_schedule_samsung.h>
Definition at line 24 of file program_schedule_samsung.h.
pp::ProgramScheduleSamsung::ProgramScheduleSamsung |
( |
| ) |
|
pp::ProgramScheduleSamsung::ProgramScheduleSamsung |
( |
PP_Resource |
resource | ) |
|
uint64_t pp::ProgramScheduleSamsung::GetID |
( |
| ) |
|
GetID() provides ID of service identified by resource.
- Returns
uint64_t with ID of service.
Var pp::ProgramScheduleSamsung::GetName |
( |
| ) |
|
GetName() providing name of service identified by resource.
- Returns
PP_Var of type string, with name of service.
GetPresentFollowing() providing array of EPG events from present/following table for service associated with program schedule resource.
- Parameters
-
- Returns
PP_Error with error code.
int32_t pp::ProgramScheduleSamsung::GetRatingLock |
( |
const struct PP_RatingInfo * |
ratingInfo, |
|
|
const CompletionCallbackWithOutput< PP_Bool > & |
callback |
|
) |
| |
GetRatingLock() gets lock status for displaying programs of certain rating.
- Parameters
-
[in] | program | PP_RatingInfo from which rating is taken to be edited. |
[out] | state | PP_Bool of the lock. |
[in] | callback | PP_CompletionCallback that will be run when output will be ready. |
- Returns
PP_Error with error code.R
int32_t pp::ProgramScheduleSamsung::GetScheduledEvents |
( |
PP_Time |
start_time, |
|
|
PP_Time |
end_time, |
|
|
const CompletionCallbackWithOutput< std::vector< PP_EPGEvent > > & |
callback |
|
) |
| |
GetScheduledEvents() providing array of EPG events from scheduled table for service associated whit program schedule resource.
- Parameters
-
[in] | start_time | PP_Time with beginning of requested schedule. |
[in] | end_time | PP_Time with end of requested schedule. |
[in] | callback | CompletionCallbackWithOutput that will be run when output will be ready. |
- Returns
PP_Error with error code.
PP_ServiceType pp::ProgramScheduleSamsung::GetType |
( |
| ) |
|
GetType() providing type of service identified by resource.
- Returns
PP_ServiceType with type of service. More information in pp_epg_event.h.
int32_t pp::ProgramScheduleSamsung::SetRatingLock |
( |
const struct PP_RatingInfo * |
ratingInfo, |
|
|
PP_Bool |
setLock, |
|
|
const CompletionCallback & |
callback |
|
) |
| |
SetRatingLock() sets lock for displaying programs of certain rating.
- Parameters
-
[in] | program | PP_RatingInfo from which rating is taken |
[in] | state | PP_Bool of lock to be set. |
[in] | callback | PP_CompletionCallback that will be run when output will be ready. |
- Returns
PP_Error with error code.
The documentation for this class was generated from the following file: