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

#include <PVRProvidersPath.h>

Public Types

enum class  Kind { UNKNOWN , RADIO , TV }
 

Public Member Functions

 CPVRProvidersPath (const std::string &path)
 
 CPVRProvidersPath (Kind kind, int clientId, int providerUid, const std::string &lastSegment="")
 
bool IsValid () const
 
 operator std::string () const
 
const std::string & GetPath () const
 
bool IsProvidersRoot () const
 
bool IsProvider () const
 
bool IsChannels () const
 
bool IsRecordings () const
 
bool IsRadio () const
 
Kind GetKind () const
 
int GetProviderUid () const
 
int GetClientId () const
 

Static Public Attributes

static const std::string PATH_TV_PROVIDERS = "pvr://providers/tv/"
 
static const std::string PATH_RADIO_PROVIDERS = "pvr://providers/radio/"
 
static const std::string CHANNELS = "channels"
 
static const std::string RECORDINGS = "recordings"
 

Member Enumeration Documentation

◆ Kind

enum class PVR::CPVRProvidersPath::Kind
strong
Enumerator
UNKNOWN 
RADIO 
TV 

Constructor & Destructor Documentation

◆ CPVRProvidersPath() [1/2]

CPVRProvidersPath::CPVRProvidersPath ( const std::string & path)
explicit

◆ CPVRProvidersPath() [2/2]

CPVRProvidersPath::CPVRProvidersPath ( CPVRProvidersPath::Kind kind,
int clientId,
int providerUid,
const std::string & lastSegment = "" )

Member Function Documentation

◆ GetClientId()

int PVR::CPVRProvidersPath::GetClientId ( ) const
inline

◆ GetKind()

Kind PVR::CPVRProvidersPath::GetKind ( ) const
inline

◆ GetPath()

const std::string & PVR::CPVRProvidersPath::GetPath ( ) const
inline

◆ GetProviderUid()

int PVR::CPVRProvidersPath::GetProviderUid ( ) const
inline

◆ IsChannels()

bool PVR::CPVRProvidersPath::IsChannels ( ) const
inline

◆ IsProvider()

bool PVR::CPVRProvidersPath::IsProvider ( ) const
inline

◆ IsProvidersRoot()

bool PVR::CPVRProvidersPath::IsProvidersRoot ( ) const
inline

◆ IsRadio()

bool PVR::CPVRProvidersPath::IsRadio ( ) const
inline

◆ IsRecordings()

bool PVR::CPVRProvidersPath::IsRecordings ( ) const
inline

◆ IsValid()

bool PVR::CPVRProvidersPath::IsValid ( ) const
inline

◆ operator std::string()

PVR::CPVRProvidersPath::operator std::string ( ) const
inline

Member Data Documentation

◆ CHANNELS

const std::string CPVRProvidersPath::CHANNELS = "channels"
static

◆ PATH_RADIO_PROVIDERS

const std::string CPVRProvidersPath::PATH_RADIO_PROVIDERS = "pvr://providers/radio/"
static

◆ PATH_TV_PROVIDERS

const std::string CPVRProvidersPath::PATH_TV_PROVIDERS = "pvr://providers/tv/"
static

◆ RECORDINGS

const std::string CPVRProvidersPath::RECORDINGS = "recordings"
static

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