DVBLink Remote API Library documentation  0.2.0-Master
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
dvblinkremote::VideoItem Class Reference

Class for video items. More...

Inheritance diagram for dvblinkremote::VideoItem:
dvblinkremote::PlaybackItem dvblinkremote::PlaybackObject

Public Member Functions

 VideoItem (const std::string &objectId, const std::string &parentId, const std::string &playbackUrl, const std::string &thumbnailUrl, const VideoItemMetadata *metadata)
 Initializes a new instance of the dvblinkremote::VideoItem class.
 ~VideoItem ()
 Destructor for cleaning up allocated memory.
- Public Member Functions inherited from dvblinkremote::PlaybackItem
 PlaybackItem (const DVBLinkPlaybackItemType itemType, const std::string &objectId, const std::string &parentId, const std::string &playbackUrl, const std::string &thumbnailUrl, const ItemMetadata *metadata)
 Initializes a new instance of the dvblinkremote::PlaybackItem class.
virtual ~PlaybackItem ()=0
 Pure virtual destructor for cleaning up allocated memory.
DVBLinkPlaybackItemTypeGetItemType ()
 Gets the type of the playback item .
std::string & GetPlaybackUrl ()
 Gets the URL for stream playback of the playback item.
std::string & GetThumbnailUrl ()
 Gets the URL to the playback item thumbnail.
ItemMetadataGetMetadata ()
 Gets the metadata for the playback item.
- Public Member Functions inherited from dvblinkremote::PlaybackObject
 PlaybackObject (const DVBLinkPlaybackObjectType objectType, const std::string &objectId, const std::string &parentId)
 Initializes a new instance of the dvblinkremote::PlaybackObject class.
virtual ~PlaybackObject ()=0
 Pure virtual destructor for cleaning up allocated memory.
DVBLinkPlaybackObjectTypeGetObjectType ()
 Gets the type of the playback object .
std::string & GetObjectID ()
 Gets the identifier of the playback object.
std::string & GetParentID ()
 Gets the identifier of the parent object for this playback object.

Additional Inherited Members

- Public Types inherited from dvblinkremote::PlaybackItem
enum  DVBLinkPlaybackItemType { PLAYBACK_ITEM_TYPE_RECORDED_TV = 0, PLAYBACK_ITEM_TYPE_VIDEO = 1, PLAYBACK_ITEM_TYPE_AUDIO = 2, PLAYBACK_ITEM_TYPE_IMAGE = 3 }
 An enum for playback item types. More...
- Public Attributes inherited from dvblinkremote::PlaybackItem
bool CanBeDeleted
 Identifies whether this item can be deleted.
long Size
 Item file size in bytes.
long CreationTime
 Time when item was created.

Detailed Description

Class for video items.

Constructor & Destructor Documentation

dvblinkremote::VideoItem::VideoItem ( const std::string &  objectId,
const std::string &  parentId,
const std::string &  playbackUrl,
const std::string &  thumbnailUrl,
const VideoItemMetadata metadata 
)

Initializes a new instance of the dvblinkremote::VideoItem class.

Parameters
objectIda constant string reference representing the identifier of the playback object.
parentIda constant string reference representing the identifier of the parent object for this playback object.
playbackUrla constant string reference representing the URL for stream playback of the video item.
thumbnailUrla constant string reference representing the URL to the video item thumbnail.
metadataa constant VideoItemMetadata reference representing the metadata for the video item.
dvblinkremote::VideoItem::~VideoItem ( )

Destructor for cleaning up allocated memory.