Class MediaInfoCommand
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
- API Level:
- 4
Provides commands to manage the media information and query related items in the database.
public class MediaInfoCommand : MediaCommand
- Inheritance
Constructors
View SourceMediaInfoCommand(MediaDatabase)
Initializes a new instance of the FolderCommand class with the specified MediaDatabase.
Declaration
public MediaInfoCommand(MediaDatabase database)
Parameters
Type | Name | Description |
---|---|---|
MediaDatabase | database | The MediaDatabase that the commands run on. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ObjectDisposedException |
|
API Level: 4
Methods
View SourceAdd(String)
Adds the media to the database.
Declaration
public MediaInfo Add(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The file path to add. |
Returns
Type | Description |
---|---|
MediaInfo | The MediaInfo instance that contains the record information in the database. |
Remarks
If the media already exists in the database, it returns the existing information.
The ScanFile(String) or the ScanFolderAsync(String) can be used instead.
If you want to access internal storage, you should add privilege http://tizen.org/privilege/mediastorage.
If you want to access external storage, you should add privilege http://tizen.org/privilege/externalstorage.
If http://tizen.org/feature/content.scanning.others feature is not supported and the specified file is other-type,
NotSupportedException will be thrown.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
FileNotFoundException |
|
UnauthorizedAccessException | The caller has no required privilege. |
NotSupportedException | The required feature is not supported. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.writehttp://tizen.org/privilege/mediastoragehttp://tizen.org/privilege/externalstorage
View SourceAddAsync(IEnumerable<String>)
Adds media files into the media database.
Declaration
public Task AddAsync(IEnumerable<string> paths)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | paths | The paths of the media files to add. |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous add operation. |
Remarks
The paths that already exist in the database will be ignored.
At most 300 items can be added at once.
If you want to access internal storage, you should add privilege http://tizen.org/privilege/mediastorage.
If you want to access external storage, you should add privilege http://tizen.org/privilege/externalstorage.
If http://tizen.org/feature/content.scanning.others feature is not supported and the specified file is other-type,
NotSupportedException will be thrown.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
FileNotFoundException |
|
UnauthorizedAccessException | The caller has no required privilege. |
NotSupportedException | The required feature is not supported. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.writehttp://tizen.org/privilege/mediastoragehttp://tizen.org/privilege/externalstorage
View SourceCountBookmark(String)
Retrieves the number of the bookmarks added to the media.
Declaration
public int CountBookmark(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count the bookmarks added to the media. |
Returns
Type | Description |
---|---|
Int32 | The number of the bookmarks. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCountBookmark(String, CountArguments)
Retrieves the number of the bookmarks added to the media with the CountArguments.
Declaration
public int CountBookmark(string mediaId, CountArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count the bookmarks added to the media. |
CountArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
Int32 | The number of the bookmarks. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCountFaceInfo(String)
Retrieves the number of the face information added to or detected from the media.
Declaration
public int CountFaceInfo(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count face information added to the media. |
Returns
Type | Description |
---|---|
Int32 | The number of the face information. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCountFaceInfo(String, CountArguments)
Retrieves the number of the face information added to or detected from the media with filter.
Declaration
public int CountFaceInfo(string mediaId, CountArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count the face information added to the media. |
CountArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
Int32 | The number of the face information. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCountGroupBy(MediaInfoColumnKey)
Retrieves the number of values grouped by the specified column with the SelectArguments.
Declaration
public int CountGroupBy(MediaInfoColumnKey columnKey)
Parameters
Type | Name | Description |
---|---|---|
MediaInfoColumnKey | columnKey | The column key. |
Returns
Type | Description |
---|---|
Int32 | The number of groups. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentException |
|
API Level: 4
View SourceCountGroupBy(MediaInfoColumnKey, CountArguments)
Retrieves the number of values grouped by the specified column with the SelectArguments.
Declaration
public int CountGroupBy(MediaInfoColumnKey columnKey, CountArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
MediaInfoColumnKey | columnKey | The column key. |
CountArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
Int32 | The number of groups. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentException |
|
API Level: 4
View SourceCountMedia()
Retrieves the number of the media information.
Declaration
public int CountMedia()
Returns
Type | Description |
---|---|
Int32 | The number of the media information. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
API Level: 4
View SourceCountMedia(CountArguments)
Retrieves the number of the media information with the SelectArguments.
Declaration
public int CountMedia(CountArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
CountArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
Int32 | The number of media information. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
API Level: 4
View SourceCountTag(String)
Retrieves the number of tags that the media has.
Declaration
public int CountTag(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count tags added to the media. |
Returns
Type | Description |
---|---|
Int32 | The number of tags. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCountTag(String, CountArguments)
Retrieves the number of tags that the media has with the CountArguments.
Declaration
public int CountTag(string mediaId, CountArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to count tags added to the media. |
CountArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
Int32 | The number of tags. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceCreateThumbnailAsync(String)
Creates the thumbnail image for the given media. If the thumbnail already exists for the given media, the existing path will be returned.
Declaration
public Task<string> CreateThumbnailAsync(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to create the thumbnail. |
Returns
Type | Description |
---|---|
Task<String> | A task that represents the asynchronous operation. The task result contains the thumbnail path. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
RecordNotFoundException |
|
ArgumentException |
|
FileNotFoundException | The file of the media does not exists; moved or deleted. |
UnsupportedContentException | The thumbnail is not available for the given media. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.write
View SourceCreateThumbnailAsync(String, CancellationToken)
Creates the thumbnail image for the given media. If the thumbnail already exists for the given media, the existing path will be returned.
Declaration
public Task<string> CreateThumbnailAsync(string mediaId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to create the thumbnail. |
CancellationToken | cancellationToken | The token to cancel the operation. |
Returns
Type | Description |
---|---|
Task<String> | A task that represents the asynchronous operation. The task result contains the thumbnail path. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
RecordNotFoundException |
|
ArgumentException |
|
FileNotFoundException | The file of the media does not exists; moved or deleted. |
UnsupportedContentException | The thumbnail is not available for the given media. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.write
View SourceDelete(String)
Deletes the media from the database.
Declaration
public bool Delete(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to delete. |
Returns
Type | Description |
---|---|
Boolean | true if the matched record was found and deleted, otherwise false. |
Remarks
The ScanFile(String) or the ScanFolderAsync(String) can be used instead.
Since API level 6, if the file related with the mediaId
in DB still exists in file system before calling this method,
InvalidOperationException will be thrown to keep consistency in DB.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
UnauthorizedAccessException | The caller has no required privilege. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.write
View SourceDetectFaceAsync(String)
Detects faces from the given media. If the thumbnail already exists for the given media, the existing path will be returned.
Declaration
public Task<int> DetectFaceAsync(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to create the thumbnail. |
Returns
Type | Description |
---|---|
Task<Int32> | A task that represents the asynchronous add operation. The task result contains the number of faces detected. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
RecordNotFoundException |
|
ArgumentException |
|
FileNotFoundException | The file of the media does not exists; moved or deleted. |
UnsupportedContentException | Face detection is not available for the given media. |
NotSupportedException | The required feature is not supported. |
UnauthorizedAccessException | The caller has no required privilege. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.write
Feature: http://tizen.org/feature/vision.face_recognition
View SourceDetectFaceAsync(String, CancellationToken)
Creates the thumbnail image for the given media. If the thumbnail already exists for the given media, the existing path will be returned.
Declaration
public Task<int> DetectFaceAsync(string mediaId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to create the thumbnail. |
CancellationToken | cancellationToken | The token to cancel the operation. |
Returns
Type | Description |
---|---|
Task<Int32> | A task that represents the asynchronous operation. The task result contains the number of faces detected. |
Remarks
Media in the external storage is not supported, with the exception of MMC. Only JPEG, PNG, BMP images are supported.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
RecordNotFoundException |
|
ArgumentException |
|
FileNotFoundException | The file of the media does not exists; moved or deleted. |
UnsupportedContentException | Face detection is not available for the given media. |
NotSupportedException | The required feature is not supported. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.write
Feature: http://tizen.org/feature/vision.face_recognition
View SourceMove(String, String)
Updates the path of the media to the specified destination path in the database.
Declaration
public bool Move(string mediaId, string newPath)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to move. |
String | newPath | The path that the media has been moved to. |
Returns
Type | Description |
---|---|
Boolean | true if the matched record was found and updated, otherwise false. |
Remarks
Usually, it is used after the media file is moved to the another path.
If you want to access internal storage, you should add privilege http://tizen.org/privilege/mediastorage.
If you want to access external storage, you should add privilege http://tizen.org/privilege/externalstorage.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
FileNotFoundException |
|
UnauthorizedAccessException | The caller has no required privilege. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/content.writehttp://tizen.org/privilege/mediastoragehttp://tizen.org/privilege/externalstorage
View SourceSelectBookmark(String)
Retrieves the bookmarks added to the media.
Declaration
public MediaDataReader<Bookmark> SelectBookmark(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select the bookmarks added to the media. |
Returns
Type | Description |
---|---|
MediaDataReader<Bookmark> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectBookmark(String, SelectArguments)
Retrieves the bookmarks added to the media with the SelectArguments.
Declaration
public MediaDataReader<Bookmark> SelectBookmark(string mediaId, SelectArguments filter)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select the bookmarks added to the media. |
SelectArguments | filter | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
MediaDataReader<Bookmark> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectFaceInfo(String)
Retrieves the face information added to or detected from the media.
Declaration
public MediaDataReader<FaceInfo> SelectFaceInfo(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select face information added to the media. |
Returns
Type | Description |
---|---|
MediaDataReader<FaceInfo> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectFaceInfo(String, SelectArguments)
Retrieves the face information added to or detected from the media with the SelectArguments.
Declaration
public MediaDataReader<FaceInfo> SelectFaceInfo(string mediaId, SelectArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select the face information added to the media. |
SelectArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
MediaDataReader<FaceInfo> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectGroupBy(MediaInfoColumnKey)
Retrieves the group values of the specified column.
Declaration
public MediaDataReader<string> SelectGroupBy(MediaInfoColumnKey columnKey)
Parameters
Type | Name | Description |
---|---|---|
MediaInfoColumnKey | columnKey | The column key. |
Returns
Type | Description |
---|---|
MediaDataReader<String> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentException |
|
API Level: 4
View SourceSelectGroupBy(MediaInfoColumnKey, SelectArguments)
Retrieves the group values of the specified column with the SelectArguments.
Declaration
public MediaDataReader<string> SelectGroupBy(MediaInfoColumnKey columnKey, SelectArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
MediaInfoColumnKey | columnKey | The column key. |
SelectArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
MediaDataReader<String> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentException |
|
API Level: 4
View SourceSelectMedia()
Retrieves all the media.
Declaration
public MediaDataReader<MediaInfo> SelectMedia()
Returns
Type | Description |
---|---|
MediaDataReader<MediaInfo> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
API Level: 4
View SourceSelectMedia(String)
Retrieves the media.
Declaration
public MediaInfo SelectMedia(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to retrieve. |
Returns
Type | Description |
---|---|
MediaInfo | The MediaInfo instance if the matched record was found in the database, otherwise null. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectMedia(SelectArguments)
Retrieves the media with the SelectArguments.
Declaration
public MediaDataReader<MediaInfo> SelectMedia(SelectArguments arguments)
Parameters
Type | Name | Description |
---|---|---|
SelectArguments | arguments | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
MediaDataReader<MediaInfo> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
API Level: 4
View SourceSelectTag(String)
Retrieves the tags that the media has.
Declaration
public MediaDataReader<Tag> SelectTag(string mediaId)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select tags added to the media. |
Returns
Type | Description |
---|---|
MediaDataReader<Tag> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceSelectTag(String, SelectArguments)
Retrieves the tags that the media has with the SelectArguments.
Declaration
public MediaDataReader<Tag> SelectTag(string mediaId, SelectArguments filter)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to select tags added to the media. |
SelectArguments | filter | The criteria to use to filter. This value can be null. |
Returns
Type | Description |
---|---|
MediaDataReader<Tag> | The MediaDataReader<TRecord> containing the results. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
API Level: 4
View SourceUpdateFavorite(String, Boolean)
Updates the media with the favorite value.
Declaration
public bool UpdateFavorite(string mediaId, bool value)
Parameters
Type | Name | Description |
---|---|---|
String | mediaId | The media ID to update. |
Boolean | value | The value indicating whether the media is favorite. |
Returns
Type | Description |
---|---|
Boolean | true if the matched record was found and updated, otherwise false. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The MediaDatabase is disconnected. |
ObjectDisposedException | The MediaDatabase has already been disposed. |
MediaDatabaseException | An error occurred while executing the command. |
ArgumentNullException |
|
ArgumentException |
|
UnauthorizedAccessException | The caller has no required privilege. |