Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVR::CPVRStreamProperties Class Reference

#include <PVRStreamProperties.h>

Inheritance diagram for PVR::CPVRStreamProperties:

Public Member Functions

 CPVRStreamProperties ()=default
 
virtual ~CPVRStreamProperties ()=default
 
std::string GetStreamURL () const
 Obtain the URL of the stream.
 
std::string GetStreamMimeType () const
 Obtain the MIME type of the stream.
 
bool EPGPlaybackAsLive () const
 If props are from an EPG tag indicates if playback should be as live playback would be.
 

Constructor & Destructor Documentation

◆ CPVRStreamProperties()

PVR::CPVRStreamProperties::CPVRStreamProperties ( )
default

◆ ~CPVRStreamProperties()

virtual PVR::CPVRStreamProperties::~CPVRStreamProperties ( )
virtualdefault

Member Function Documentation

◆ EPGPlaybackAsLive()

bool CPVRStreamProperties::EPGPlaybackAsLive ( ) const

If props are from an EPG tag indicates if playback should be as live playback would be.

Returns
true if it should be played back as live, false otherwise.

◆ GetStreamMimeType()

std::string CPVRStreamProperties::GetStreamMimeType ( ) const

Obtain the MIME type of the stream.

Returns
The stream's MIME type or empty string, if not found.

◆ GetStreamURL()

std::string CPVRStreamProperties::GetStreamURL ( ) const

Obtain the URL of the stream.

Returns
The stream URL or empty string, if not found.

The documentation for this class was generated from the following files: