DVBLink Remote API Library documentation
0.2.0-Master
|
Class for get playback object requests. More...
Public Types | |
enum | DVBLinkRequestedObjectType { REQUESTED_OBJECT_TYPE_ALL = -1, REQUESTED_OBJECT_TYPE_CONTAINER = 0, REQUESTED_OBJECT_TYPE_ITEM = 1 } |
An enum for requesting certain object types to be returned. More... | |
enum | DVBLinkRequestedItemType { REQUESTED_ITEM_TYPE_ALL = -1, REQUESTED_ITEM_TYPE_RECORDED_TV = 0, REQUESTED_ITEM_TYPE_VIDEO = 1, REQUESTED_ITEM_TYPE_AUDIO = 2, REQUESTED_ITEM_TYPE_IMAGE = 3 } |
An enum for requesting certain item types to be returned. More... |
Public Member Functions | |
GetPlaybackObjectRequest (const std::string &serverAddress) | |
Initializes a new instance of the dvblinkremote::GetPlaybackObjectRequest class to recieve the DVBLink server container, i.e. | |
GetPlaybackObjectRequest (const std::string &serverAddress, const std::string &objectId) | |
Initializes a new instance of the dvblinkremote::GetPlaybackObjectRequest class. | |
~GetPlaybackObjectRequest () | |
Destructor for cleaning up allocated memory. | |
std::string & | GetServerAddress () |
Gets the server address for the playback object request. | |
std::string & | GetObjectID () |
Gets the identifier for the playback object to recieve. |
Public Attributes | |
DVBLinkRequestedObjectType | RequestedObjectType |
Indicates which type of objects to be requested. | |
DVBLinkRequestedItemType | RequestedItemType |
Indicates which type of items to be requested. | |
int | StartPosition |
The start position of objects to be requested. | |
int | RequestCount |
The number of objects to be requested. | |
bool | IncludeChildrenObjectsForRequestedObject |
Indicates if child objects of requested object identifier shall be included in result or not. |
Class for get playback object requests.
This is used as input parameter for the IDVBLinkRemoteConnection::GetPlaybackObject method.
An enum for requesting certain item types to be returned.
dvblinkremote::GetPlaybackObjectRequest::GetPlaybackObjectRequest | ( | const std::string & | serverAddress | ) |
Initializes a new instance of the dvblinkremote::GetPlaybackObjectRequest class to recieve the DVBLink server container, i.e.
the top level parent of all objects.
serverAddress | a constant string reference representing the DVBLink server address. |
serverAddress
is the IP address/server network name of the DVBLink server. dvblinkremote::GetPlaybackObjectRequest::GetPlaybackObjectRequest | ( | const std::string & | serverAddress, |
const std::string & | objectId | ||
) |
Initializes a new instance of the dvblinkremote::GetPlaybackObjectRequest class.
serverAddress | a constant string reference representing the DVBLink server address. |
objectId | a constant string reference representing the identifier of the playback object to recieve. |
serverAddress
is the IP address/server network name of the DVBLink server. dvblinkremote::GetPlaybackObjectRequest::~GetPlaybackObjectRequest | ( | ) |
Destructor for cleaning up allocated memory.
std::string& dvblinkremote::GetPlaybackObjectRequest::GetObjectID | ( | ) |
Gets the identifier for the playback object to recieve.
empty string
which refers to DVBLink server container, i.e. the top level parent of all objects. std::string& dvblinkremote::GetPlaybackObjectRequest::GetServerAddress | ( | ) |
Gets the server address for the playback object request.
bool dvblinkremote::GetPlaybackObjectRequest::IncludeChildrenObjectsForRequestedObject |
Indicates if child objects of requested object identifier
shall be included in result or not.
false
. false
� returns information about object itself as specified by its object identifier
. true
� returns objects� children objects � containers and items. int dvblinkremote::GetPlaybackObjectRequest::RequestCount |
The number of objects to be requested.
-1
, e.g. all. DVBLinkRequestedItemType dvblinkremote::GetPlaybackObjectRequest::RequestedItemType |
Indicates which type of items to be requested.
REQUESTED_ITEM_TYPE_ALL
. DVBLinkRequestedObjectType dvblinkremote::GetPlaybackObjectRequest::RequestedObjectType |
Indicates which type of objects to be requested.
REQUESTED_OBJECT_TYPE_ALL
. int dvblinkremote::GetPlaybackObjectRequest::StartPosition |
The start position of objects to be requested.
0
.