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

#include <EPG.h>

Inheritance diagram for kodi::addon::PVREPGTag:
kodi::addon::DynamicCStructHdl< PVREPGTag, EPG_TAG >

Public Member Functions

void SetUniqueBroadcastId (unsigned int uniqueBroadcastId)
 required
Identifier for this event. Event uids must be unique for a channel. Valid uids must be greater than EPG_TAG_INVALID_UID.
 
unsigned int GetUniqueBroadcastId () const
 To get with SetUniqueBroadcastId changed values.
 
void SetUniqueChannelId (unsigned int uniqueChannelId)
 required
Unique identifier of the channel this event belongs to.
 
unsigned int GetUniqueChannelId () const
 To get with SetUniqueChannelId changed values.
 
void SetTitle (const std::string &title)
 required
This event's title.
 
std::string GetTitle () const
 To get with SetTitle changed values.
 
void SetStartTime (time_t startTime)
 required
Start time in UTC.
 
time_t GetStartTime () const
 To get with SetStartTime changed values.
 
void SetEndTime (time_t endTime)
 required
End time in UTC.
 
time_t GetEndTime () const
 To get with SetEndTime changed values.
 
void SetPlotOutline (const std::string &plotOutline)
 optional
Plot outline name.
 
std::string GetPlotOutline () const
 To get with SetPlotOutline changed values.
 
void SetPlot (const std::string &plot)
 optional
Plot name.
 
std::string GetPlot () const
 To get with GetPlot changed values.
 
void SetOriginalTitle (const std::string &originalTitle)
 optional
Original title.
 
std::string GetOriginalTitle () const
 To get with SetOriginalTitle changed values.
 
void SetCast (const std::string &cast)
 optional
Cast name(s).
 
std::string GetCast () const
 To get with SetCast changed values.
 
void SetDirector (const std::string &director)
 optional
Director name(s).
 
std::string GetDirector () const
 To get with SetDirector changed values.
 
void SetWriter (const std::string &writer)
 optional
Writer name(s).
 
std::string GetWriter () const
 To get with SetDirector changed values.
 
void SetYear (int year)
 optional
Year.
 
int GetYear () const
 To get with SetYear changed values.
 
void SetIMDBNumber (const std::string &IMDBNumber)
 optional
IMDB identification number.
 
std::string GetIMDBNumber () const
 To get with SetIMDBNumber changed values.
 
void SetIconPath (const std::string &iconPath)
 optional
Icon path.
 
std::string GetIconPath () const
 To get with SetIconPath changed values.
 
void SetGenreType (int genreType)
 optional
Genre type.
 
int GetGenreType () const
 To get with SetGenreType changed values.
 
void SetGenreSubType (int genreSubType)
 optional
Genre sub type.
 
int GetGenreSubType () const
 To get with SetGenreSubType changed values.
 
void SetGenreDescription (const std::string &genreDescription)
 optional
genre. Will be used only when genreType == EPG_GENRE_USE_STRING or genreSubType == EPG_GENRE_USE_STRING.
 
std::string GetGenreDescription () const
 To get with SetGenreDescription changed values.
 
void SetFirstAired (const std::string &firstAired)
 optional
First aired in UTC.
 
std::string GetFirstAired () const
 To get with SetFirstAired changed values.
 
void SetParentalRating (unsigned int parentalRating)
 optional
Parental rating.
 
unsigned int GetParentalRating () const
 To get with SetParentalRating changed values.
 
void SetParentalRatingCode (const std::string &parentalRatingCode)
 optional
This event's parental rating code.
 
std::string GetParentalRatingCode () const
 To get with SetParentalRatingCode changed values.
 
void SetParentalRatingIcon (const std::string &parentalRatingIcon)
 optional
This event's parental rating icon.
 
std::string GetParentalRatingIcon () const
 To get with SetParentalRatingIcon changed values.
 
void SetParentalRatingSource (const std::string &parentalRatingSource)
 optional
The event's parental rating source.
 
std::string GetParentalRatingSource () const
 To get with SetParentalRatingSource changed values.
 
void SetStarRating (int starRating)
 optional
Star rating.
 
int GetStarRating () const
 To get with SetStarRating changed values.
 
void SetSeriesNumber (int seriesNumber)
 optional
Series number.
 
int GetSeriesNumber () const
 To get with SetSeriesNumber changed values.
 
void SetEpisodeNumber (int episodeNumber)
 optional
Episode number.
 
int GetEpisodeNumber () const
 To get with SetEpisodeNumber changed values.
 
void SetEpisodePartNumber (int episodePartNumber)
 optional
Episode part number.
 
int GetEpisodePartNumber () const
 To get with SetEpisodePartNumber changed values.
 
void SetEpisodeName (const std::string &episodeName)
 optional
Episode name.
 
std::string GetEpisodeName () const
 To get with SetEpisodeName changed values.
 
void SetFlags (unsigned int flags)
 optional
Bit field of independent flags associated with the EPG entry.
 
unsigned int GetFlags () const
 To get with SetFlags changed values.
 
void SetSeriesLink (const std::string &seriesLink)
 optional
Series link for this event.
 
std::string GetSeriesLink () const
 To get with SetSeriesLink changed values.
 
- Public Member Functions inherited from kodi::addon::DynamicCStructHdl< PVREPGTag, EPG_TAG >
 DynamicCStructHdl ()
 
 DynamicCStructHdl (const DynamicCStructHdl &cppClass)
 
 DynamicCStructHdl (const EPG_TAG *cStructure)
 
 DynamicCStructHdl (EPG_TAG *cStructure)
 
const DynamicCStructHdloperator= (const DynamicCStructHdl &right)
 
const DynamicCStructHdloperator= (const EPG_TAG &right)
 
virtual ~DynamicCStructHdl ()
 
 operator EPG_TAG * ()
 
 operator const EPG_TAG * () const
 
const EPG_TAGGetCStructure () const
 
EPG_TAGrelease ()
 

Static Public Member Functions

static void AllocResources (const EPG_TAG *source, EPG_TAG *target)
 
static void FreeResources (EPG_TAG *target)
 

Friends

class CInstancePVRClient
 

Additional Inherited Members

- Protected Attributes inherited from kodi::addon::DynamicCStructHdl< PVREPGTag, EPG_TAG >
EPG_TAGm_cStructure
 

Member Function Documentation

◆ AllocResources()

static void kodi::addon::PVREPGTag::AllocResources ( const EPG_TAG * source,
EPG_TAG * target )
inlinestatic

◆ FreeResources()

static void kodi::addon::PVREPGTag::FreeResources ( EPG_TAG * target)
inlinestatic

Friends And Related Symbol Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient
friend

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