Channel data structure
Representation of a TV or radio channel.
This is used to store all the necessary TV or radio channel data and can either provide the necessary data from / to Kodi for the associated functions or can also be used in the addon to store its data.
The following table contains values that can be set with class PVRChannel :
◆ SetUniqueId()
| void SetUniqueId |
( |
unsigned int |
uniqueId | ) |
|
|
inline |
required
Unique identifier for this channel.
◆ GetUniqueId()
| unsigned int GetUniqueId |
( |
| ) |
const |
|
inline |
◆ SetIsRadio()
| void SetIsRadio |
( |
bool |
isRadio | ) |
|
|
inline |
required
true if this is a radio channel, false if it's a TV channel.
◆ GetIsRadio()
| bool GetIsRadio |
( |
| ) |
const |
|
inline |
◆ SetChannelNumber()
| void SetChannelNumber |
( |
unsigned int |
channelNumber | ) |
|
|
inline |
optional
Channel number of this channel on the backend.
◆ GetChannelNumber()
| unsigned int GetChannelNumber |
( |
| ) |
const |
|
inline |
◆ SetSubChannelNumber()
| void SetSubChannelNumber |
( |
unsigned int |
subChannelNumber | ) |
|
|
inline |
optional
Sub channel number of this channel on the backend (ATSC).
◆ GetSubChannelNumber()
| unsigned int GetSubChannelNumber |
( |
| ) |
const |
|
inline |
◆ SetChannelName()
| void SetChannelName |
( |
const std::string & |
channelName | ) |
|
|
inline |
optional
Channel name given to this channel.
◆ GetChannelName()
| std::string GetChannelName |
( |
| ) |
const |
|
inline |
◆ SetMimeType()
| void SetMimeType |
( |
const std::string & |
inputFormat | ) |
|
|
inline |
◆ GetMimeType()
| std::string GetMimeType |
( |
| ) |
const |
|
inline |
◆ SetEncryptionSystem()
| void SetEncryptionSystem |
( |
unsigned int |
encryptionSystem | ) |
|
|
inline |
optional
The encryption ID or CaID of this channel (Conditional access systems).
Lists about available ID's:
◆ GetEncryptionSystem()
| unsigned int GetEncryptionSystem |
( |
| ) |
const |
|
inline |
◆ SetIconPath()
| void SetIconPath |
( |
const std::string & |
iconPath | ) |
|
|
inline |
optional
Path to the channel icon (if present).
◆ GetIconPath()
| std::string GetIconPath |
( |
| ) |
const |
|
inline |
◆ SetIsHidden()
| void SetIsHidden |
( |
bool |
isHidden | ) |
|
|
inline |
optional
true if this channel is marked as hidden.
◆ GetIsHidden()
| bool GetIsHidden |
( |
| ) |
const |
|
inline |
◆ SetHasArchive()
| void SetHasArchive |
( |
bool |
hasArchive | ) |
|
|
inline |
optional
true if this channel has a server-side back buffer.
◆ GetHasArchive()
| bool GetHasArchive |
( |
| ) |
const |
|
inline |
◆ SetOrder()
| void SetOrder |
( |
bool |
order | ) |
|
|
inline |
optional
The value denoting the order of this channel in the 'All channels' group.
◆ GetOrder()