PVR add-on capabilities
This class is needed to tell Kodi which options are supported on the addon.
If a capability is set to true, then the corresponding methods from kodi::addon::CInstancePVRClient need to be implemented.
As default them all set to false.
Used on kodi::addon::CInstancePVRClient::GetCapabilities().
The following table contains values that can be set with class PVRCapabilities :
- Warning
- This class can not be used outside of kodi::addon::CInstancePVRClient::GetCapabilities()
◆ SetSupportsEPG()
void SetSupportsEPG |
( |
bool |
supportsEPG | ) |
|
|
inline |
Set true if the add-on provides EPG information.
◆ GetSupportsEPG()
bool GetSupportsEPG |
( |
| ) |
const |
|
inline |
◆ SetSupportsEPGEdl()
void SetSupportsEPGEdl |
( |
bool |
supportsEPGEdl | ) |
|
|
inline |
Set true if the backend supports retrieving an edit decision list for an EPG tag.
◆ GetSupportsEPGEdl()
bool GetSupportsEPGEdl |
( |
| ) |
const |
|
inline |
◆ SetSupportsTV()
void SetSupportsTV |
( |
bool |
supportsTV | ) |
|
|
inline |
Set true if this add-on provides TV channels.
◆ GetSupportsTV()
bool GetSupportsTV |
( |
| ) |
const |
|
inline |
◆ SetSupportsRadio()
void SetSupportsRadio |
( |
bool |
supportsRadio | ) |
|
|
inline |
Set true if this add-on provides TV channels.
◆ GetSupportsRadio()
bool GetSupportsRadio |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordings()
void SetSupportsRecordings |
( |
bool |
supportsRecordings | ) |
|
|
inline |
true if this add-on supports playback of recordings stored on the backend.
◆ GetSupportsRecordings()
bool GetSupportsRecordings |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingsUndelete()
void SetSupportsRecordingsUndelete |
( |
bool |
supportsRecordingsUndelete | ) |
|
|
inline |
Set true if this add-on supports undelete of recordings stored on the backend.
◆ GetSupportsRecordingsUndelete()
bool GetSupportsRecordingsUndelete |
( |
| ) |
const |
|
inline |
◆ SetSupportsTimers()
void SetSupportsTimers |
( |
bool |
supportsTimers | ) |
|
|
inline |
Set true if this add-on supports the creation and editing of timers.
◆ GetSupportsTimers()
bool GetSupportsTimers |
( |
| ) |
const |
|
inline |
◆ SetSupportsProviders()
void SetSupportsProviders |
( |
bool |
supportsProviders | ) |
|
|
inline |
Set true if this add-on supports providers.
It uses the following functions:
◆ GetSupportsProviders()
bool GetSupportsProviders |
( |
| ) |
const |
|
inline |
◆ SetSupportsChannelGroups()
void SetSupportsChannelGroups |
( |
bool |
supportsChannelGroups | ) |
|
|
inline |
Set true if this add-on supports channel groups.
It use the following functions:
◆ GetSupportsChannelGroups()
bool GetSupportsChannelGroups |
( |
| ) |
const |
|
inline |
◆ SetSupportsChannelScan()
void SetSupportsChannelScan |
( |
bool |
supportsChannelScan | ) |
|
|
inline |
Set true if this add-on support scanning for new channels on the backend.
It use the following function:
◆ GetSupportsChannelScan()
bool GetSupportsChannelScan |
( |
| ) |
const |
|
inline |
◆ SetSupportsChannelSettings()
void SetSupportsChannelSettings |
( |
bool |
supportsChannelSettings | ) |
|
|
inline |
Set true if this add-on supports channel edit.
It use the following functions:
◆ GetSupportsChannelSettings()
bool GetSupportsChannelSettings |
( |
| ) |
const |
|
inline |
◆ SetHandlesInputStream()
void SetHandlesInputStream |
( |
bool |
handlesInputStream | ) |
|
|
inline |
Set true if this add-on provides an input stream. false if Kodi handles the stream.
◆ GetHandlesInputStream()
bool GetHandlesInputStream |
( |
| ) |
const |
|
inline |
◆ SetHandlesDemuxing()
void SetHandlesDemuxing |
( |
bool |
handlesDemuxing | ) |
|
|
inline |
Set true if this add-on demultiplexes packets.
◆ GetHandlesDemuxing()
bool GetHandlesDemuxing |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingPlayCount()
void SetSupportsRecordingPlayCount |
( |
bool |
supportsRecordingPlayCount | ) |
|
|
inline |
Set true if the backend supports play count for recordings.
◆ GetSupportsRecordingPlayCount()
bool GetSupportsRecordingPlayCount |
( |
| ) |
const |
|
inline |
◆ SetSupportsLastPlayedPosition()
void SetSupportsLastPlayedPosition |
( |
bool |
supportsLastPlayedPosition | ) |
|
|
inline |
Set true if the backend supports store/retrieve of last played position for recordings.
◆ GetSupportsLastPlayedPosition()
bool GetSupportsLastPlayedPosition |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingEdl()
void SetSupportsRecordingEdl |
( |
bool |
supportsRecordingEdl | ) |
|
|
inline |
Set true if the backend supports retrieving an edit decision list for recordings.
◆ GetSupportsRecordingEdl()
bool GetSupportsRecordingEdl |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingsRename()
void SetSupportsRecordingsRename |
( |
bool |
supportsRecordingsRename | ) |
|
|
inline |
Set true if the backend supports renaming recordings.
◆ GetSupportsRecordingsRename()
bool GetSupportsRecordingsRename |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingsLifetimeChange()
void SetSupportsRecordingsLifetimeChange |
( |
bool |
supportsRecordingsLifetimeChange | ) |
|
|
inline |
Set true if the backend supports changing lifetime for recordings.
◆ GetSupportsRecordingsLifetimeChange()
bool GetSupportsRecordingsLifetimeChange |
( |
| ) |
const |
|
inline |
◆ SetSupportsDescrambleInfo()
void SetSupportsDescrambleInfo |
( |
bool |
supportsDescrambleInfo | ) |
|
|
inline |
Set true if the backend supports descramble information for playing channels.
◆ GetSupportsDescrambleInfo()
bool GetSupportsDescrambleInfo |
( |
| ) |
const |
|
inline |
◆ SetSupportsAsyncEPGTransfer()
void SetSupportsAsyncEPGTransfer |
( |
bool |
supportsAsyncEPGTransfer | ) |
|
|
inline |
◆ GetSupportsAsyncEPGTransfer()
bool GetSupportsAsyncEPGTransfer |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingSize()
void SetSupportsRecordingSize |
( |
bool |
supportsRecordingSize | ) |
|
|
inline |
Set true if this addon-on supports retrieving size of recordings.
◆ GetSupportsRecordingSize()
bool GetSupportsRecordingSize |
( |
| ) |
const |
|
inline |
◆ SetSupportsRecordingsDelete()
void SetSupportsRecordingsDelete |
( |
bool |
supportsRecordingsDelete | ) |
|
|
inline |
Set true if this add-on supports delete of recordings stored on the backend.
◆ GetSupportsRecordingsDelete()
bool GetSupportsRecordingsDelete |
( |
| ) |
const |
|
inline |
◆ SetRecordingsLifetimeValues()
void SetRecordingsLifetimeValues |
( |
const std::vector< PVRTypeIntValue > & |
recordingsLifetimeValues | ) |
|
|
inline |
◆ GetRecordingsLifetimeValues()