diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-474623C2-0C81-445A-802B-77FA1C8C6C54.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-474623C2-0C81-445A-802B-77FA1C8C6C54.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,440 @@ + + +
The criteria
object specifies what media
+information is returned and how the returned information is sorted.
The criteria
object has three main properties: Type
, Filter
,
+and Sort
. These are described in the following table.
+Properties enclosed in brackets are optional.
+ Property + |
+ Description + |
+ Type + |
+ Value + |
---|---|---|---|
+
|
+
+ Specifies the type of media objects to retrieve. + |
+
+ string + |
+
+ Possible values: +
|
+
+
|
+
+ Specifies how the information to be retrieved is filtered. + |
+
+ object + |
+
+ Object with the properties specified below + |
+
+
|
+
+ Specifies the type of media files about which to retrieve information. + |
+
+ string + |
+
+ Possible values: +
|
+
+
|
+
+ This property is used together with Note: If this property is not specified, then all files of For more information about keys, see Table: +Keys for filtering and sorting. + |
+
+ string + |
+
+ Possible values: +
|
+
+
|
+
+ Specifies the starting range and is valid for all key types. +For example, if you set This property is mandatory only if you specify |
+
+ string + |
+
+ Depends on |
+
+
|
+
+ Specifies the end range and is valid for the following keys: +
|
+
+ string + |
+
+ Depends on |
+
+
|
+
+ Specifies how the returned list of information is sorted. + |
+
+ object + |
+
+ Object with the properties specified below + |
+
+
|
+
+ Specifies the key to sort by. +For more information about keys, see Table: +Keys for filtering and sorting. + |
+
+ string + |
+
+ Possible values: +
|
+
+
|
+
+ Specifies the sort order. +Note: By default, sorting is done in ascending order based on file name. + |
+
+ string + |
+
+ Possible values: +
|
+
The following table describes the possible values for Filter.StartRange
and Filter.EndRange
depending
+on the selected key.
+ Key + |
+ Description + |
+ Value + |
+ Type + |
---|---|---|---|
+
|
+
+ Filter/sort the result by file name. + |
+
+ Full file name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by file extension. + |
+
+ "." + file extension + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by file drive. + |
+
+ Drive letter + ":" + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by file size. + |
+
+ File size in bytes +Note: Start range and end range are needed. + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by file date. + |
+
+ File date as YYYYMMDD:HHMMSS +Note: Start range and end range are needed. + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by full path and file name. + |
+
+ Full path including file name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by song name. + |
+
+ Full song name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by artist name. + |
+
+ Full artist name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by album name. + |
+
+ Full album name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by genre. + |
+
+ Full genre name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by track number. + |
+
+ Full track number + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by composer. + |
+
+ Full composer name + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by URL. + |
+
+ Full URL of the streaming media file + |
+
+ string + |
+
+
|
+
+ Filter/sort the result by MIME type. + |
+
+ MIME type +For example: |
+
+ string + |
+