This interface provides access to content located in a DLNA media server. Instances are created by calling ToiDlnaService::createContentDirectoryInstance().
The media server hierarchy is built up by containers and items. A container can hold other containers or items, both of which may be virtual, i.e. not representing physical directories and files on the media server. For example, a media server may extract ID3 tag metadata from MP3 files and sort them in different logical containers by album name, artist or year.
The root container for a media server is obtained by calling ToiDlnaContentDirectoryService::getRootContainerId() and can be traversed recursively with calls to ToiDlnaContentDirectoryService::browse().
All DLNA operations are asynchronous to avoid blocking the application during operation execution. For example, in order to browse a container the application first need to create an operation by calling ToiOperationManager::createOperation() and then use this operation identifier when calling ToiDlnaContentDirectoryService::browse(). The operation identifier can later be reused for another asynchronous operation, or it can also be destroyed and a new operation can be created instead.
Operation results are notified by callbacks and the result data can then be read from this interface.
The result data (ToiDlnaContentDirectoryServiceCdsObject) represents the XML response from the DLNA media server. Most of the data is dependent on which properties that have been requested when calling ToiDlnaContentDirectoryService::browse() or ToiDlnaContentDirectoryService::search().
For example if the following object is exposed by the media server:
<item id="1" parentID="0"> <dc:title>Item 1</dc:title> <dc:creator>Creator 1</dc:creator> <upnp:author>Author 1</upnp:author> <upnp:author>Author 2</upnp:author> <upnp:class>object.item.imageItem</upnp:class> <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN"> http://someurl1.com </res> <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM"> http://someurl2.com </res> </item>
After a ToiDlnaContentDirectoryService::browse() operation where some properties (PROPERTY_CREATOR, PROPERTY_AUTHOR, PROPERTY_RES_ATTR_PROTOCOL_INFO, PROPERTY_PI_PROFILE_NAME, PROPERTY_RES_RENDER_SUPPORTED, PROPERTY_RES) where requested, the corresponding ToiDlnaContentDirectoryServiceCdsObject will have the following values:
ObjectId: "1" ParentId: "0" ObjectClass: "object.item.imageItem" IsContainer: false Title: "Item 1" Id |SubIndex| Value --------------------------------+---+-------------------------------- PROPERTY_CREATOR |-1 |"Creator 1" PROPERTY_AUTHOR |0 |"Author 1" PROPERTY_AUTHOR |1 |"Author 2" PROPERTY_RES_ATTR_PROTOCOL_INFO |0 |"http-get:*:image/jpeg:DLNA"... PROPERTY_RES_PI_PROFILE_NAME |0 |"JPEG_TN" PROPERTY_RES_RENDER_SUPPORTED |0 |"1" PROPERTY_RES |0 |"http://someurl1.com" PROPERTY_RES_ATTR_PROTOCOL_INFO |1 |"http-get:*:image/jpeg:DLNA"... PROPERTY_RES_PI_PROFILE_NAME |1 |"JPEG_SM" PROPERTY_RES_RENDER_SUPPORTED |1 |"1" PROPERTY_RES |1 |"http://someurl2.com"
import "ToiDlnaContentDirectoryService.idl";
Bit mask values indicating possible CDS actions.
typedef sequence< ToiDlnaContentDirectoryServiceCdsObject > ToiDlnaContentDirectoryService::TToiCdsObjectSequence |
Sequence of CDS objects.
typedef long ToiDlnaContentDirectoryService::TToiPropertyId |
Type for property identifier.
typedef sequence< TToiPropertyId > ToiDlnaContentDirectoryService::TToiPropertyIdSequence |
Sequence of property identifiers.
typedef sequence< ToiDlnaContentDirectoryServiceProperty > ToiDlnaContentDirectoryService::TToiPropertySequence |
A sequence of properties.
typedef long ToiDlnaContentDirectoryService::TToiPropertyType |
Enumeration of property types.
typedef sequence< long > ToiDlnaContentDirectoryService::TToiSortIdSequence |
Sequence of identifiers used to indicate object sort order. A property with identifier X is represented as follows: -X: descending sort order X: ascending sort order
void ToiEventTarget::addEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method registers an event listener for a specific event. Multiple listeners can be added for the same event. Events are broadcast to all registered listeners.
type | The event type of the event to subscribe to. | |
listener | The JavaScript function that will receive events. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the application calls addEventListener with the same combination of type and listener twice. |
void ToiDlnaContentDirectoryService::browse | ( | in ToiOperationManager::TToiOperationId | operationId, | |
in string | containerId, | |||
in TToiPropertyIdSequence | propertyFilter, | |||
in TToiSortIdSequence | sortCriteria, | |||
in long | startIndex, | |||
in long | count | |||
) | raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Starts an asynchronous operation to browse the direct children of a container. The objects to return are determined by giving a server side offset (startIndex) and number of objects to return (count). A startIndex value of 0 is used to retrieve objects from the very beginning of the container. The ServerIndex value of a returned ToiDlnaContentDirectoryServiceCdsObject can be used as offset in additional calls to ToiDlnaContentDirectoryService::browse().
The @childCount attribute of the container may contain the total number of objects, but this is not mandatory.
The result is returned by an operation event with result type set to ToiDlnaContentDirectoryService::OP_RESULT_OBJECT.
operationId | Operation identifier. | |
containerId | The identifier of the container object to browse. | |
propertyFilter | The properties to request. Only these properties will be included in the object data returned. | |
sortCriteria | The sort criteria to be used for the results. A negative value indicates descending sort order for that property identifier, and a positive value (same as the property identifier) indicates ascending sort order. The properties that the CDS supports for sorting can be found in ToiDlnaContentDirectoryServiceCdsCapabilities. | |
startIndex | Start index of first object to retrieve. | |
count | The number of objects to be read (a value of 0 will return all objects). |
TToiInvalidArgumentException | Raised if any of the parameters to the call are invalid. | |
TToiOperationNotSupportedException | Raised if the service is unavailable. |
void ToiDlnaContentDirectoryService::getCapabilities | ( | in ToiOperationManager::TToiOperationId | operationId | ) | raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Starts an asynchronous operation to find the capabilities of the CDS. The resulting ToiDlnaContentDirectoryServiceCdsCapabilities can be read after an operation event with result type set to ToiDlnaContentDirectoryService::OP_RESULT_CAPABILITY.
operationId | Operation identifier. |
TToiInvalidArgumentException | Raised if the operation identifier is invalid. | |
TToiOperationNotSupportedException | Raised if the service is unavailable. |
ToiOperationManager ToiDlnaContentDirectoryService::getCdsOperationManager | ( | ) |
Returns the operation manager that handles asynchronous operations for this Content Directory Service. The procedure of executing asynchronous operations is generic and looks like this:
IToiOperationManager |
void ToiDlnaContentDirectoryService::getObjectById | ( | in ToiOperationManager::TToiOperationId | operationId, | |
in string | objectId, | |||
in TToiPropertyIdSequence | propertyFilter | |||
) | raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Starts an asynchronous operation to read a single CDS object. The result is returned by an operation event with result type set to ToiDlnaContentDirectoryService::OP_RESULT_OBJECT.
operationId | Operation identifier. | |
objectId | The object identifier to read properties for. | |
propertyFilter | The properties to request. Only these properties will be included in the object data returned. |
TToiInvalidArgumentException | Raised if any of the parameters to the call are invalid. | |
TToiOperationNotSupportedException | Raised if the service is unavailable. |
ToiDlnaContentDirectoryServiceCdsCapabilities ToiDlnaContentDirectoryService::getOperationCapabilityResult | ( | in ToiOperationManager::TToiOperationId | operationId | ) | raises (TToiInvalidArgumentException, TToiNoDataException) |
Return media server capability result of an asynchronous DLNA operation that notified results of type ToiDlnaContentDirectoryService::OP_RESULT_CAPABILITY. The returned result is removed from the internal cache of the service and are not available in a second call to this method.
operationId | Operation identifier. |
capabilities | The CDS action capabilities. |
TToiInvalidArgumentException | Raised if operation is unknown or does not support capability results. | |
TToiNoDataException | Raised if no result is available. |
ToiMultipleResult ToiDlnaContentDirectoryService::getOperationObjectResult | ( | in ToiOperationManager::TToiOperationId | operationId, | |
in long | maxCount | |||
) | raises (TToiInvalidArgumentException, TToiNoDataException) |
Return objects that are result of an asynchronous DLNA operation that notified results of type ToiDlnaContentDirectoryService::OP_RESULT_OBJECT. The returned result is removed from the internal cache of the service and are not available in a second call to this method.
operationId | Operation identifier. | |
maxCount | The maximum number of objects the user are interested in, 0 if as many as possible shall be returned. |
TToiInvalidArgumentException | Raised if operation is unknown or does not support object results. | |
TToiNoDataException | Raised if no result is available. |
TToiPropertyId ToiDlnaContentDirectoryService::getPropertyIdByName | ( | in string | name | ) | raises (TToiInvalidArgumentException) |
Returns the CDS property identifier used for given property name.
name | Property name. |
id | Property identifier. |
TToiInvalidArgumentException | Raised if name is not a known property. |
ToiMultipleResult ToiDlnaContentDirectoryService::getPropertyInfoById | ( | in TToiPropertyId | id | ) | raises (TToiInvalidArgumentException) |
Returns the CDS property name and type by property identifier.
id | Property identifier. |
TToiInvalidArgumentException | Raised if the property identifier is unknown. |
string ToiDlnaContentDirectoryService::getRootContainerId | ( | ) |
Returns the CDS root container identifier.
ojbectId | The root container identifier. |
string ToiDlnaContentDirectoryService::getServerUuid | ( | ) |
Returns the uuid of the media server hosting this service.
uuid | The UUID of the media server. |
void ToiDlnaContentDirectoryService::releaseInstance | ( | ) |
When an application is done using the Content Direcory Service it should gracefully release it by calling this function.
void ToiEventTarget::removeEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method removes an event listener for a specific event.
type | The event type of the event to remove the listener from. | |
listener | The JavaScript function that was previously added as an event listener. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the listener had not previously been added. |
void ToiDlnaContentDirectoryService::search | ( | in ToiOperationManager::TToiOperationId | operationId, | |
in string | containerId, | |||
in string | searchCriteria, | |||
in TToiPropertyIdSequence | propertyFilter, | |||
in TToiSortIdSequence | sortCriteria, | |||
in long | startIndex, | |||
in long | count | |||
) | raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Starts an asynchronous operation to search for matching objects in a container. The objects to return are determined by giving a server side offset (startIndex) and number of objects to return (count). A startIndex value of 0 is used to retrieve objects from the very beginning of the container. The ServerIndex value of a returned ToiDlnaContentDirectoryServiceCdsObject can be used as offset in additional calls to ToiDlnaContentDirectoryService::search(). The support for search operations in different media servers may vary, but examples and syntax can be found in public UPnP documents: http://upnp.org/specs/av/UPnP-av-ContentDirectory-v1-Service.pdf
The result is returned by an operation event with result type set to ToiDlnaContentDirectoryService::OP_RESULT_OBJECT.
operationId | Operation identifier. | |
containerId | The identifier of the container object to browse. | |
searchCriteria | The search criteria to be used when querying the media server. The properties that the CDS supports for searching can be found in ToiDlnaContentDirectoryServiceCdsCapabilities. | |
propertyFilter | The properties to request. Only these properties will be included in the object data returned. | |
sortCriteria | The sort criteria to be used for the results. A negative value indicates descending sort order for that property identifier, and a positive value (same as the property identifier) indicates ascending sort order. The properties that the CDS supports for sorting can be found in ToiDlnaContentDirectoryServiceCdsCapabilities. | |
startIndex | Start index of first object to retrieve. | |
count | The number of objects to be read (a value of 0 will return all matching objects). |
TToiInvalidArgumentException | Raised if any of the parameters to the call are invalid. | |
TToiOperationNotSupportedException | Raised if the service is unavailable. |
ContentDirectory service accepts music for upload.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_AUDIO_UPLOAD.
ContentDirectory service accepts video for upload.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_AV_UPLOAD.
CreateObject action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_CREATE_OBJECT.
DestroyObject action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_DESTROY_OBJECT.
ExportResource action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_EXPORT_RESOURCE.
const TToiCdsActionCapability ToiDlnaContentDirectoryService::CDS_CAPABILITY_GET_TRANSFER_PROGRESS = 0x40 |
GetTransferProgress action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_GET_TRANSFER_PROGRESS.
ContentDirectory service accepts images for upload.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_IMAGE_UPLOAD.
ImportResource action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_IMPORT_RESOURCE.
Search action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_SEARCH.
const TToiCdsActionCapability ToiDlnaContentDirectoryService::CDS_CAPABILITY_STOP_TRANSFER_PROGRESS = 0x20 |
StopTransferProgress action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_STOP_TRANSFER_PROGRESS.
const TToiCdsActionCapability ToiDlnaContentDirectoryService::CDS_CAPABILITY_X_GET_DLNA_UPLOAD_PROFILES = 0x400 |
X_GetDLNAUploadProfiles action is supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.CDS_CAPABILITY_X_GET_DLNA_UPLOAD_PROFILES.
const long ToiDlnaContentDirectoryService::ON_CONTAINER_CHANGED = 500 |
This is an Event identifier for ToiDlnaContentDirectoryContainerChangedEvent.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.ON_CONTAINER_CHANGED.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_CAN_NOT_PROCESS_REQUEST = -9 |
Media server reported could not process request.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_CAN_NOT_PROCESS_REQUEST.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_INVALID_ACTION = -4 |
Media server reported that action is not supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_INVALID_ACTION.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_INVALID_ARGUMENTS = -3 |
Media server returned invalid arguments error.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_INVALID_ARGUMENTS.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_NO_SUCH_CONTAINER = -7 |
Media server reported that container identifier is no longer valid.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_NO_SUCH_CONTAINER.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_RESTRICTED = -8 |
Media server reported that object is restricted.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_RESTRICTED.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_UNSUPPORTED_SEARCH_CRITERIA = -5 |
Search criteria passed to media server is not supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_UNSUPPORTED_SEARCH_CRITERIA.
const ToiOperationManager::TToiOperationError ToiDlnaContentDirectoryService::OP_ERROR_UNSUPPORTED_SORT_CRITERIA = -6 |
Sort criteria passed to media server is not supported.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_ERROR_UNSUPPORTED_SORT_CRITERIA.
const ToiOperationManager::TToiOperationResult ToiDlnaContentDirectoryService::OP_RESULT_CAPABILITY = 2 |
The ascynchronous operation has media server capability as result. See ToiDlnaContentDirectoryService::getOperationCapabilityResult().
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_RESULT_CAPABILITY.
The ascynchronous operation has object(s) as result. See ToiDlnaContentDirectoryService::getOperationObjectResult().
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.OP_RESULT_OBJECT.
Type: TYPE_STRING; DLNA name: "upnp:actor".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_ACTOR.
Type: TYPE_STRING; DLNA name: "upnp:album".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_ALBUM.
Type: TYPE_STRING; DLNA name: "upnp:artist".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_ARTIST.
Type: TYPE_STRING; DLNA name: "upnp:author".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_AUTHOR.
Type: TYPE_STRING; DLNA name: "upnp:channelName".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CHANNEL_NAME.
Type: TYPE_INTEGER; DLNA name: "upnp:channelNr".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CHANNEL_NR.
Type: TYPE_STRING; DLNA name: "upnp:class".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CLASS.
Type: TYPE_STRING; DLNA name: "dc:contributor".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CONTRIBUTOR.
Type: TYPE_STRING; DLNA name: "upnp:createClass".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CREATE_CLASS.
const TToiPropertyId ToiDlnaContentDirectoryService::PROPERTY_CREATE_CLASS_ATTR_INCLUDE_DERIVED = 21 |
Type: TYPE_BOOLEAN; DLNA name: "upnp:createClass\@includeDerived".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CREATE_CLASS_ATTR_INCLUDE_DERIVED.
Type: TYPE_STRING; DLNA name: "upnp:createClass\@name".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CREATE_CLASS_ATTR_NAME.
Type: TYPE_STRING; DLNA name: "dc:creator".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_CREATOR.
Type: TYPE_DATE; DLNA name: "dc:date".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_DATE.
Type: TYPE_STRING; DLNA name: "dc:description".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_DESCRIPTION.
Type: TYPE_STRING; DLNA name: "upnp:director".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_DIRECTOR.
Type: TYPE_STRING; DLNA name: "upnp:genre".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_GENRE.
Type: TYPE_STRING; DLNA name: "upnp:icon".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_ICON.
Type: TYPE_STRING; DLNA name: "dc:language".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_LANGUAGE.
Type: TYPE_STRING; DLNA name: "upnp:longDescription"
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_LONG_DESCRIPTION.
Type: TYPE_INTEGER; DLNA name: "container\@childCount".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_OBJECT_ATTR_CHILD_COUNT.
Type: TYPE_STRING; DLNA name: "\@refID".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_OBJECT_ATTR_REF_ID.
Type: TYPE_BOOLEAN; DLNA name: "\@restricted".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_OBJECT_ATTR_RESTRICTED.
Type: TYPE_BOOLEAN; DLNA name: "container\@searchable".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_OBJECT_ATTR_SEARCHABLE.
Type: TYPE_INTEGER; DLNA name: "upnp:originalTrackNumber".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_ORIGINAL_TRACK_NUMBER.
Type: TYPE_STRING; DLNA name: "upnp:playlist".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_PLAYLIST.
Type: TYPE_STRING; DLNA name: "upnp:producer".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_PRODUCER.
Type: TYPE_STRING; DLNA name: "dc:publisher".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_PUBLISHER.
Type: TYPE_STRING; DLNA name: "upnp:radioBand".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RADIO_BAND.
Type: TYPE_STRING; DLNA name: "upnp:radioCallSign".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RADIO_CALL_SIGN.
Type: TYPE_STRING; DLNA name: "upnp:radioStationID".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RADIO_STATION_ID.
Type: TYPE_STRING; DLNA name: "upnp:rating".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RATING.
Type: TYPE_STRING; DLNA name: "upnp:region".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_REGION.
Type: TYPE_STRING; DLNA name: "res".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES.
Type: TYPE_INTEGER; DLNA name: "res\@nrAudioChannels".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_AUDIO_CHANNELS_COUNT.
Type: TYPE_INTEGER; DLNA name: "res\@bitrate".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_BITRATE.
Type: TYPE_INTEGER; DLNA name: "res\@bitsPerSample".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_BITS_PER_SAMPLE.
Type: TYPE_INTEGER; DLNA name: "res\@colorDepth".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_COLOR_DEPTH.
Type: TYPE_DURATION; DLNA name: "res\@duration".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_DURATION.
Type: TYPE_STRING; DLNA name: "res\@importUri".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_IMPORT_URI.
Type: TYPE_STRING; DLNA name: "res\@protection".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_PROTECTION.
Type: TYPE_STRING; DLNA name: "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_PROTOCOL_INFO.
Type: TYPE_RESOLUTION; DLNA name: "res\@resolution".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_RESOLUTION.
Type: TYPE_INTEGER; DLNA name: "res\@sampleFrequency".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_SAMPLE_FREQUENCY.
Type: TYPE_INTEGER; DLNA name: "res\@size". Be aware that this property can be more than 32-bit integer.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_ATTR_SIZE.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_CI parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_CONVERSION_INDICATOR.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_FLAGS parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_FLAGS.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_MAXSP parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_MAX_RTSP_SPEED.
Type: TYPE_STRING; DLNA name: none. Represents MIME type part (3rd part) of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_MIME_TYPE.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_OP parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_OPERATIONS.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_PS parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_PLAY_SPEED.
Type: TYPE_STRING; DLNA name: none. Represents DLNA.ORG_PN parameter in 4th part of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_PROFILE_NAME.
Type: TYPE_STRING; DLNA name: none. Represents protocol part (1st part) of the "res\@protocolInfo".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_PI_PROTOCOL.
Type: TYPE_INTEGER; DLNA name: none. If the resource can be rendered the value is set to "1", and if not it is set to "0".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_RES_RENDER_SUPPORTED.
Type: TYPE_DATE; DLNA name: "upnp:scheduledEndTime".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_SCHEDULED_END_TIME.
Type: TYPE_DATE; DLNA name: "upnp:scheduledStartTime".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_SCHEDULED_START_TIME.
Type: TYPE_STRING; DLNA name: "upnp:searchClass".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_SEARCH_CLASS.
const TToiPropertyId ToiDlnaContentDirectoryService::PROPERTY_SEARCH_CLASS_ATTR_INCLUDE_DERIVED = 91 |
Type: TYPE_BOOLEAN; DLNA name: "upnp:searchClass\@includeDerived".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_SEARCH_CLASS_ATTR_INCLUDE_DERIVED.
Type: TYPE_STRING; DLNA name: "upnp:searchClass\@name".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_SEARCH_CLASS_ATTR_NAME.
Type: TYPE_INTEGER; DLNA name: "upnp:storageFree".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_STORAGE_FREE.
Type: TYPE_INTEGER; DLNA name: "upnp:storageMaxPartition".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_STORAGE_MAX_PARTITION.
Type: TYPE_STRING; DLNA name: "upnp:storageMedium".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_STORAGE_MEDIUM.
Type: TYPE_INTEGER; DLNA name: "upnp:storageTotal".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_STORAGE_TOTAL.
Type: TYPE_INTEGER; DLNA name: "upnp:storageUsed".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_STORAGE_USED.
Type: TYPE_STRING; DLNA name: "dc:title".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_TITLE.
Type: TYPE_STRING; DLNA name: "upnp:userAnnotation".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_USER_ANNOTATION.
Type: TYPE_STRING; DLNA name: "upnp:writeStatus".
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.PROPERTY_WRITE_STATUS.
Type that represents boolean property.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_BOOLEAN.
Type that represents date property.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_DATE.
Type that represents duration property.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_DURATION.
Type that represents integer property.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_INTEGER.
Type that represents resolution property, WxY pixels. For example 640x480.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_RESOLUTION.
Type that represents string property.
This constant can also be accessed from toi.consts.ToiDlnaContentDirectoryService.TYPE_STRING.