PVR stream property value handler
To set for Kodi wanted stream properties.
The following table contains values that can be set with class PVRStreamProperty :
Example:
...
std::vector<kodi::addon::PVRStreamProperty>& properties)
{
...
}
...
Definition: Channels.h:39
@ PVR_ERROR_NO_ERROR
0 : No error occurred.
Definition: pvr_general.h:37
#define PVR_STREAM_PROPERTY_INPUTSTREAM
To define in stream properties the name of the inputstream add-on that should be used.
Definition: pvr_general.h:162
Example 2:
...
std::vector<kodi::addon::PVRStreamProperty>& properties)
{
...
property.SetValue("inputstream.adaptive");
properties.emplace_back(property);
}
...
Definition: General.h:470
◆ PVRStreamProperty() [1/2]
Default class constructor.
- Note
- Values must be set afterwards.
◆ PVRStreamProperty() [2/2]
Class constructor with integrated value set.
- Parameters
-
[in] | name | Type identification |
[in] | value | Type used property value |
◆ SetName()
void SetName |
( |
const std::string & |
name | ) |
|
|
inline |
To set with the identification name.
◆ GetName()
std::string GetName |
( |
| ) |
const |
|
inline |
To get with the identification name.
◆ SetValue()
void SetValue |
( |
const std::string & |
value | ) |
|
|
inline |
To set with the used property value.
◆ GetValue()
std::string GetValue |
( |
| ) |
const |
|
inline |
To get with the used property value.