Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <PVRTimerType.h>
Public Member Functions | |
CPVRTimerType () | |
CPVRTimerType (const PVR_TIMER_TYPE &type, int iClientId) | |
CPVRTimerType (unsigned int iTypeId, uint64_t iAttributes, const std::string &strDescription="") | |
virtual | ~CPVRTimerType () |
CPVRTimerType (const CPVRTimerType &type)=delete | |
CPVRTimerType & | operator= (const CPVRTimerType &orig)=delete |
bool | operator== (const CPVRTimerType &right) const |
bool | operator!= (const CPVRTimerType &right) const |
void | Update (const CPVRTimerType &type) |
Update the data of this instance with the data given by another type instance. | |
int | GetClientId () const |
Get the PVR client id for this type. | |
unsigned int | GetTypeId () const |
Get the numeric type id of this type. | |
const std::string & | GetDescription () const |
Get the plain text (UI) description of this type. | |
uint64_t | GetAttributes () const |
Get the attributes of this type. | |
bool | IsTimerRule () const |
Check whether this type is for timer rules or one time timers. | |
bool | IsReminder () const |
Check whether this type is for reminder timers or recording timers. | |
bool | IsOnetime () const |
Check whether this type is for timer rules or one time timers. | |
bool | IsManual () const |
Check whether this type is for epg-based or manual timers. | |
bool | IsEpgBased () const |
Check whether this type is for epg-based or manual timers. | |
bool | IsEpgBasedTimerRule () const |
Check whether this type is for epg-based timer rules. | |
bool | IsEpgBasedOnetime () const |
Check whether this type is for one time epg-based timers. | |
bool | IsManualTimerRule () const |
Check whether this type is for manual timer rules. | |
bool | IsManualOnetime () const |
Check whether this type is for one time manual timers. | |
bool | IsReadOnly () const |
Check whether this type is readonly (must not be modified after initial creation). | |
bool | AllowsDelete () const |
Check whether this type allows deletion. | |
bool | ForbidsNewInstances () const |
Check whether this type forbids creation of new timers of this type. | |
bool | ForbidsEpgTagOnCreate () const |
Check whether this timer type is forbidden when epg tag info is present. | |
bool | RequiresEpgTagOnCreate () const |
Check whether this timer type requires epg tag info to be present. | |
bool | RequiresEpgSeriesOnCreate () const |
Check whether this timer type requires epg tag info including series attributes to be present. | |
bool | RequiresEpgSeriesLinkOnCreate () const |
Check whether this timer type requires epg tag info including a series link to be present. | |
bool | SupportsEnableDisable () const |
Check whether this type supports the "enabling/disabling" of timers of its type. | |
bool | SupportsChannels () const |
Check whether this type supports channels. | |
bool | SupportsStartTime () const |
Check whether this type supports start time. | |
bool | SupportsEndTime () const |
Check whether this type supports end time. | |
bool | SupportsStartAnyTime () const |
Check whether this type supports start any time. | |
bool | SupportsEndAnyTime () const |
Check whether this type supports end any time. | |
bool | SupportsEpgTitleMatch () const |
Check whether this type supports matching a search string against epg episode title. | |
bool | SupportsEpgFulltextMatch () const |
Check whether this type supports matching a search string against extended (fulltext) epg data. This includes title matching. | |
bool | SupportsFirstDay () const |
Check whether this type supports a first day the timer is active. | |
bool | SupportsWeekdays () const |
Check whether this type supports weekdays for timer schedules. | |
bool | SupportsRecordOnlyNewEpisodes () const |
Check whether this type supports the "record only new episodes" feature. | |
bool | SupportsStartMargin () const |
Check whether this type supports pre record time. | |
bool | SupportsEndMargin () const |
Check whether this type supports post record time. | |
bool | SupportsPriority () const |
Check whether this type supports recording priorities. | |
bool | SupportsLifetime () const |
Check whether this type supports lifetime for recordings. | |
bool | SupportsMaxRecordings () const |
Check whether this type supports MaxRecordings for recordings. | |
bool | SupportsRecordingFolders () const |
Check whether this type supports user specified recording folders. | |
bool | SupportsRecordingGroup () const |
Check whether this type supports recording groups. | |
bool | SupportsAnyChannel () const |
Check whether this type supports 'any channel', for example for defining a timer rule that should match any channel instead of a particular channel. | |
bool | SupportsReadOnlyDelete () const |
Check whether this type supports deletion of an otherwise read-only timer. | |
const std::vector< SettingIntValue > & | GetPriorityValues () const |
Obtain a list with all possible values for the priority attribute. | |
int | GetPriorityDefault () const |
Obtain the default value for the priority attribute. | |
const std::vector< SettingIntValue > & | GetLifetimeValues () const |
Obtain a list with all possible values for the lifetime attribute. | |
int | GetLifetimeDefault () const |
Obtain the default value for the lifetime attribute. | |
const std::vector< SettingIntValue > & | GetMaxRecordingsValues () const |
Obtain a list with all possible values for the MaxRecordings attribute. | |
int | GetMaxRecordingsDefault () const |
Obtain the default value for the MaxRecordings attribute. | |
const std::vector< SettingIntValue > & | GetPreventDuplicateEpisodesValues () const |
Obtain a list with all possible values for the duplicate episode prevention attribute. | |
int | GetPreventDuplicateEpisodesDefault () const |
Obtain the default value for the duplicate episode prevention attribute. | |
const std::vector< SettingIntValue > & | GetRecordingGroupValues () const |
Obtain a list with all possible values for the recording group attribute. | |
int | GetRecordingGroupDefault () const |
Obtain the default value for the Recording Group attribute. | |
const std::vector< std::shared_ptr< const CPVRTimerSettingDefinition > > & | GetCustomSettingDefinitions () const |
Get custom setting definitions for this type. | |
Static Public Member Functions | |
static const std::vector< std::shared_ptr< CPVRTimerType > > | GetAllTypes () |
Return a list with all known timer types. | |
static const std::shared_ptr< CPVRTimerType > | GetFirstAvailableType (const std::shared_ptr< const CPVRClient > &client) |
Return the first available timer type from given client. | |
static std::shared_ptr< CPVRTimerType > | CreateFromIds (unsigned int iTypeId, int iClientId) |
Create a timer type from given timer type id and client id. | |
static std::shared_ptr< CPVRTimerType > | CreateFromAttributes (uint64_t iMustHaveAttr, uint64_t iMustNotHaveAttr, int iClientId) |
Create a timer type from given timer type attributes and client id. | |
CPVRTimerType::CPVRTimerType | ( | ) |
CPVRTimerType::CPVRTimerType | ( | const PVR_TIMER_TYPE & | type, |
int | iClientId ) |
CPVRTimerType::CPVRTimerType | ( | unsigned int | iTypeId, |
uint64_t | iAttributes, | ||
const std::string & | strDescription = "" ) |
|
virtualdefault |
|
delete |
|
inline |
Check whether this type allows deletion.
|
static |
Create a timer type from given timer type attributes and client id.
iMustHaveAttr | a combination of PVR_TIMER_TYPE_* attributes the type to create must have. |
iMustNotHaveAttr | a combination of PVR_TIMER_TYPE_* attributes the type to create must not have. |
iClientId | the PVR client id. |
|
static |
Create a timer type from given timer type id and client id.
iTimerType | the timer type id. |
iClientId | the PVR client id. |
|
inline |
Check whether this timer type is forbidden when epg tag info is present.
|
inline |
Check whether this type forbids creation of new timers of this type.
|
static |
Return a list with all known timer types.
|
inline |
Get the attributes of this type.
|
inline |
|
inline |
Get custom setting definitions for this type.
|
inline |
Get the plain text (UI) description of this type.
|
static |
Return the first available timer type from given client.
client | the PVR client. |
|
inline |
Obtain the default value for the lifetime attribute.
|
inline |
Obtain a list with all possible values for the lifetime attribute.
|
inline |
Obtain the default value for the MaxRecordings attribute.
|
inline |
Obtain a list with all possible values for the MaxRecordings attribute.
|
inline |
Obtain the default value for the duplicate episode prevention attribute.
|
inline |
Obtain a list with all possible values for the duplicate episode prevention attribute.
|
inline |
Obtain the default value for the priority attribute.
|
inline |
Obtain a list with all possible values for the priority attribute.
|
inline |
Obtain the default value for the Recording Group attribute.
|
inline |
Obtain a list with all possible values for the recording group attribute.
|
inline |
Get the numeric type id of this type.
|
inline |
Check whether this type is for epg-based or manual timers.
|
inline |
Check whether this type is for one time epg-based timers.
|
inline |
Check whether this type is for epg-based timer rules.
|
inline |
Check whether this type is for epg-based or manual timers.
|
inline |
Check whether this type is for one time manual timers.
|
inline |
Check whether this type is for manual timer rules.
|
inline |
Check whether this type is for timer rules or one time timers.
|
inline |
Check whether this type is readonly (must not be modified after initial creation).
|
inline |
Check whether this type is for reminder timers or recording timers.
|
inline |
Check whether this type is for timer rules or one time timers.
bool CPVRTimerType::operator!= | ( | const CPVRTimerType & | right | ) | const |
|
delete |
bool CPVRTimerType::operator== | ( | const CPVRTimerType & | right | ) | const |
|
inline |
Check whether this timer type requires epg tag info including a series link to be present.
|
inline |
Check whether this timer type requires epg tag info including series attributes to be present.
|
inline |
Check whether this timer type requires epg tag info to be present.
|
inline |
Check whether this type supports 'any channel', for example for defining a timer rule that should match any channel instead of a particular channel.
|
inline |
Check whether this type supports channels.
|
inline |
Check whether this type supports the "enabling/disabling" of timers of its type.
|
inline |
Check whether this type supports end any time.
|
inline |
Check whether this type supports post record time.
|
inline |
Check whether this type supports end time.
|
inline |
Check whether this type supports matching a search string against extended (fulltext) epg data. This includes title matching.
|
inline |
Check whether this type supports matching a search string against epg episode title.
|
inline |
Check whether this type supports a first day the timer is active.
|
inline |
Check whether this type supports lifetime for recordings.
|
inline |
Check whether this type supports MaxRecordings for recordings.
|
inline |
Check whether this type supports recording priorities.
|
inline |
Check whether this type supports deletion of an otherwise read-only timer.
|
inline |
Check whether this type supports user specified recording folders.
|
inline |
Check whether this type supports recording groups.
|
inline |
Check whether this type supports the "record only new episodes" feature.
|
inline |
Check whether this type supports start any time.
|
inline |
Check whether this type supports pre record time.
|
inline |
Check whether this type supports start time.
|
inline |
Check whether this type supports weekdays for timer schedules.
void CPVRTimerType::Update | ( | const CPVRTimerType & | type | ) |
Update the data of this instance with the data given by another type instance.
type | The instance containing the updated data. |