PVR stream property value handler
To set for Kodi wanted stream properties.
More...
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)
{
...
}
...
@ PVR_ERROR_NO_ERROR
0 : No error occurred.
Definition pvr_general.h:38
PVR_SOURCE
Definition pvr_general.h:127
#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:235
Example 2:
...
std::vector<kodi::addon::PVRStreamProperty>& properties)
{
...
property.SetValue("inputstream.adaptive");
properties.emplace_back(property);
}
...
Definition kodi-dev-kit/include/kodi/addon-instance/pvr/General.h:1440
◆ GetName()
std::string kodi::addon::PVRStreamProperty::GetName |
( |
| ) |
const |
|
inline |
To get with the identification name.
◆ GetValue()
std::string kodi::addon::PVRStreamProperty::GetValue |
( |
| ) |
const |
|
inline |
To get with the used property value.
◆ PVRStreamProperty() [1/2]
kodi::addon::PVRStreamProperty::PVRStreamProperty |
( |
| ) |
|
|
default |
Default class constructor.
◆ PVRStreamProperty() [2/2]
kodi::addon::PVRStreamProperty::PVRStreamProperty |
( |
const std::string & | name, |
|
|
const std::string & | value ) |
|
inline |
Class constructor with integrated value set.
- Parameters
-
[in] | name | Type identification |
[in] | value | Type used property value |
◆ SetName()
void kodi::addon::PVRStreamProperty::SetName |
( |
const std::string & | name | ) |
|
|
inline |
To set with the identification name.
◆ SetValue()
void kodi::addon::PVRStreamProperty::SetValue |
( |
const std::string & | value | ) |
|
|
inline |
To set with the used property value.