Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

To get stream position time. More...

Functions

virtual int kodi::addon::CInstanceInputStream::GetTotalTime ()
 Totel time in ms.
 
virtual int kodi::addon::CInstanceInputStream::GetTime ()
 Playing time in ms.
 

Detailed Description

To get stream position time.

Note
These are used and must be set by the addon if the INPUTSTREAM_SUPPORTS_IDISPLAYTIME is set in the capabilities (see GetCapabilities()).

Function Documentation

◆ GetTime()

virtual int kodi::addon::CInstanceInputStream::GetTime ( )
inlinevirtual

Playing time in ms.

Returns
Playing time in milliseconds
Remarks

◆ GetTotalTime()

virtual int kodi::addon::CInstanceInputStream::GetTotalTime ( )
inlinevirtual

Totel time in ms.

Returns
Total time in milliseconds
Remarks