|
DVBLink Remote API Library documentation
0.2.0-Master
|
Abstract base class for playback items. More...
Public Types | |
| 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 Types inherited from dvblinkremote::PlaybackObject | |
| enum | DVBLinkPlaybackObjectType { PLAYBACK_OBJECT_TYPE_CONTAINER = 0, PLAYBACK_OBJECT_TYPE_ITEM = 1 } |
| An enum for playback object types. More... | |
Public Member Functions | |
| 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. | |
| DVBLinkPlaybackItemType & | GetItemType () |
| 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. | |
| ItemMetadata & | GetMetadata () |
| 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. | |
| DVBLinkPlaybackObjectType & | GetObjectType () |
| 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. | |
Public Attributes | |
| bool | CanBeDeleted |
| Identifies whether this item can be deleted. | |
| long | Size |
| Item file size in bytes. | |
| long | CreationTime |
| Time when item was created. | |
Abstract base class for playback items.
| 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.
| itemType | a constant DVBLinkPlaybackItemType instance representing the type of the playback item. |
| objectId | a constant string reference representing the identifier of the playback object. |
| parentId | a constant string reference representing the identifier of the parent object for this playback object. |
| playbackUrl | a constant string reference representing the URL for stream playback of the playback item. |
| thumbnailUrl | a constant string reference representing the URL to the playback item thumbnail. |
| metadata | a constant ItemMetadata reference representing the metadata for the playback item. |
|
pure virtual |
Pure virtual destructor for cleaning up allocated memory.
| DVBLinkPlaybackItemType& dvblinkremote::PlaybackItem::GetItemType | ( | ) |
Gets the type of the playback item .
| ItemMetadata& dvblinkremote::PlaybackItem::GetMetadata | ( | ) |
Gets the metadata for the playback item.
| std::string& dvblinkremote::PlaybackItem::GetPlaybackUrl | ( | ) |
Gets the URL for stream playback of the playback item.
| std::string& dvblinkremote::PlaybackItem::GetThumbnailUrl | ( | ) |
Gets the URL to the playback item thumbnail.
| bool dvblinkremote::PlaybackItem::CanBeDeleted |
Identifies whether this item can be deleted.
| long dvblinkremote::PlaybackItem::CreationTime |
Time when item was created.
| long dvblinkremote::PlaybackItem::Size |
Item file size in bytes.