InputStream add-on capabilities. All capabilities are set to "false" as default.
Asked to addon on GetCapabilities.
The following table contains values that can be set with class InputstreamCapabilities :
Name | Type | Set call | Get call |
Capabilities bit mask | uint32_t | SetMask | GetMask |
◆ INPUTSTREAM_MASKTYPE
Capability types of inputstream addon.
This values are needed to tell Kodi which options are supported on the addon.
If one of this is defined, then the corresponding methods from kodi::addon::CInstanceInputStream need to be implemented.
Used on kodi::addon::CInstanceInputStream::GetCapabilities().
Enumerator |
---|
INPUTSTREAM_SUPPORTS_IDEMUX | 0000 0000 0000 0001 : Supports interface demuxing.
If set must be @ref cpp_kodi_addon_inputstream_Demux "Demux support" included.
|
INPUTSTREAM_SUPPORTS_IPOSTIME | 0000 0000 0000 0010 : Supports interface position time.
This means that the start time and the current stream time are used.
If set must be @ref cpp_kodi_addon_inputstream_Time "Time support" included.
|
INPUTSTREAM_SUPPORTS_IDISPLAYTIME | 0000 0000 0000 0100 : Supports interface for display time.
This will call up the complete stream time information. The start time
and the individual PTS times are then given using @ref cpp_kodi_addon_inputstream_Defs_Times.
If set must be @ref cpp_kodi_addon_inputstream_Times "Times support" included.
|
INPUTSTREAM_SUPPORTS_SEEK | 0000 0000 0000 1000 : Supports seek
|
INPUTSTREAM_SUPPORTS_PAUSE | 0000 0000 0001 0000 : Supports pause
|
INPUTSTREAM_SUPPORTS_ITIME | 0000 0000 0010 0000 : Supports interface to give position time.
This will only ask for the current time of the stream, not for length or
start.
If set must be @ref cpp_kodi_addon_inputstream_PosTime "Position time support" included.
|
INPUTSTREAM_SUPPORTS_ICHAPTER | 0000 0000 0100 0000 : Supports interface for chapter selection.
If set must be @ref cpp_kodi_addon_inputstream_Chapter "Chapter support" included.
|
◆ SetMask()
void SetMask |
( |
uint32_t |
mask | ) |
const |
|
inline |
Set of supported capabilities.
◆ GetMask()
uint32_t GetMask |
( |
| ) |
const |
|
inline |
Get of supported capabilities.