PVR add-on timer type
To define the content of kodi::addon::CInstancePVRClient::GetTimerTypes() given groups.
The following table contains values that can be set with class PVRTimerType :
◆ SetId()
void SetId |
( |
unsigned int |
id | ) |
|
|
inline |
◆ GetId()
unsigned int GetId |
( |
| ) |
const |
|
inline |
◆ SetAttributes()
void SetAttributes |
( |
uint64_t |
attributes | ) |
|
|
inline |
required
Defines the attributes for this type (PVR_TIMER_TYPE_* constants).
To defines the attributes for a type. These values are bit fields that can be used together.
Example:
@ PVR_TIMER_TYPE_IS_REPEATING
0000 0000 0000 0000 0000 0000 0000 0010 : Defines whether this is a type for repeating or one-shot t...
Definition: pvr_timers.h:113
@ PVR_TIMER_TYPE_IS_MANUAL
0000 0000 0000 0000 0000 0000 0000 0001 : Defines whether this is a type for manual (time-based) or ...
Definition: pvr_timers.h:109
void SetAttributes(uint64_t attributes)
required Defines the attributes for this type (PVR_TIMER_TYPE_* constants).
Definition: Timers.h:598
◆ GetAttributes()
uint64_t GetAttributes |
( |
| ) |
const |
|
inline |
◆ SetDescription()
void SetDescription |
( |
const std::string & |
description | ) |
|
|
inline |
optional
A short localized string describing the purpose of the type. (e.g. "Any time at this channel if title matches").
If left blank, Kodi will generate a description based on the attributes REPEATING and MANUAL. (e.g. "Repeating EPG-based.")
◆ GetDescription()
std::string GetDescription |
( |
| ) |
const |
|
inline |
◆ SetPriorities()
void SetPriorities |
( |
const std::vector< PVRTypeIntValue > & |
priorities, |
|
|
int |
prioritiesDefault = -1 |
|
) |
| |
|
inline |
◆ GetPriorities()
◆ SetPrioritiesDefault()
void SetPrioritiesDefault |
( |
int |
prioritiesDefault | ) |
|
|
inline |
◆ GetPrioritiesDefault()
int GetPrioritiesDefault |
( |
| ) |
const |
|
inline |
◆ SetLifetimes()
void SetLifetimes |
( |
const std::vector< PVRTypeIntValue > & |
lifetimes, |
|
|
int |
lifetimesDefault = -1 |
|
) |
| |
|
inline |
optional
Lifetime value definitions.
Array containing the possible values for PVRTimer::SetLifetime().
- Parameters
-
[in] | lifetimes | List of lifetimes values |
[in] | lifetimesDefault | [opt] The default value in list, can also be set by SetLifetimesDefault() |
The following table contains values that can be set with class PVRTypeIntValue :
◆ GetLifetimes()
◆ SetLifetimesDefault()
void SetLifetimesDefault |
( |
int |
lifetimesDefault | ) |
|
|
inline |
optional
The default value for SetLifetimes().
- Note
- Must be filled if SetLifetimes contain values and not defined there on second function value.
◆ GetLifetimesDefault()
int GetLifetimesDefault |
( |
| ) |
const |
|
inline |
◆ SetPreventDuplicateEpisodes()
void SetPreventDuplicateEpisodes |
( |
const std::vector< PVRTypeIntValue > & |
preventDuplicateEpisodes, |
|
|
int |
preventDuplicateEpisodesDefault = -1 |
|
) |
| |
|
inline |
◆ GetPreventDuplicateEpisodes()
◆ SetPreventDuplicateEpisodesDefault()
void SetPreventDuplicateEpisodesDefault |
( |
int |
preventDuplicateEpisodesDefault | ) |
|
|
inline |
◆ GetPreventDuplicateEpisodesDefault()
int GetPreventDuplicateEpisodesDefault |
( |
| ) |
const |
|
inline |
◆ SetRecordingGroups()
void SetRecordingGroups |
( |
const std::vector< PVRTypeIntValue > & |
recordingGroup, |
|
|
int |
recordingGroupDefault = -1 |
|
) |
| |
|
inline |
◆ GetRecordingGroups()
◆ SetRecordingGroupDefault()
void SetRecordingGroupDefault |
( |
int |
recordingGroupDefault | ) |
|
|
inline |
◆ GetRecordingGroupDefault()
int GetRecordingGroupDefault |
( |
| ) |
const |
|
inline |
◆ SetMaxRecordings()
void SetMaxRecordings |
( |
const std::vector< PVRTypeIntValue > & |
maxRecordings, |
|
|
int |
maxRecordingsDefault = -1 |
|
) |
| |
|
inline |
◆ GetMaxRecordings()
◆ SetMaxRecordingsDefault()
void SetMaxRecordingsDefault |
( |
int |
maxRecordingsDefault | ) |
|
|
inline |
◆ GetMaxRecordingsDefault()
int GetMaxRecordingsDefault |
( |
| ) |
const |
|
inline |