Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Detailed Description

PVR add-on type value
Representation of a <int, std::string> event related value.


The following table contains values that can be set with class PVRTypeIntValue :

Name Type Set call Get call
Value int SetValue GetValue
Description std::string SetDescription GetDescription
Remarks
Further can there be used his class constructor to set values.

Topics

 Value Help
 

Function Documentation

◆ PVRTypeIntValue() [1/2]

PVRTypeIntValue ( )
default

Default class constructor.

Note
Values must be set afterwards.

◆ PVRTypeIntValue() [2/2]

PVRTypeIntValue ( int value,
const std::string & description )
inline

Class constructor with integrated value set.

Parameters
[in]valueType identification value
[in]descriptionType description text

◆ SetValue()

void SetValue ( int value)
inline

To set with the identification value.

◆ GetValue()

int GetValue ( ) const
inline

To get with the identification value.

◆ SetDescription()

void SetDescription ( const std::string & description)
inline

To set with the description text of the value.

◆ GetDescription()

std::string GetDescription ( ) const
inline

To get with the description text of the value.