URL and Data of key/value pairs passed to addon on Open.
This is used to have the necessary data of the stream to be opened.
The following table contains values that can be set with class InputstreamProperty :
- Warning
- This data are only given from Kodi to addon and can't be used on other places on addon.
◆ GetURL()
std::string GetURL |
( |
| ) |
const |
|
inline |
◆ GetMimeType()
std::string GetMimeType |
( |
| ) |
const |
|
inline |
◆ GetPropertiesAmount()
unsigned int GetPropertiesAmount |
( |
| ) |
const |
|
inline |
Amount of available properties.
◆ GetProperties()
const std::map<std::string, std::string> GetProperties |
( |
| ) |
const |
|
inline |
List of available properties-.
◆ GetLibFolder()
std::string GetLibFolder |
( |
| ) |
const |
|
inline |
Get addon library folder.
- Note
- As alternative can also kodi::GetAddonPath used.
◆ GetProfileFolder()
std::string GetProfileFolder |
( |
| ) |
const |
|
inline |
Get addon profile/user folder.
- Note
- As alternative can also kodi::GetBaseUserPath used.