From: Minje Ahn Date: Tue, 4 Jul 2017 02:04:18 +0000 (+0900) Subject: Add tizen level in description X-Git-Tag: submit/trunk/20170823.075128~100^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d1d2c6059cc91eb2f5efffd46e86d3e16eb7035;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add tizen level in description Change-Id: I1da2cbaa78e46a80b0d14b25f8b3346e0f0ca874 Signed-off-by: Minje Ahn --- diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Album.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Album.cs index dd089b0..3763483 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Album.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Album.cs @@ -47,6 +47,7 @@ namespace Tizen.Content.MediaContent /// /// The media album ID /// + /// 3 public int Id { get @@ -63,6 +64,7 @@ namespace Tizen.Content.MediaContent /// The name of the media artist /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Artist { get @@ -85,6 +87,7 @@ namespace Tizen.Content.MediaContent /// /// The path of the media album art /// + /// 3 public string Art { get @@ -108,6 +111,7 @@ namespace Tizen.Content.MediaContent /// The name of the media album /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Name { get @@ -136,6 +140,7 @@ namespace Tizen.Content.MediaContent /// Gets the number of MediaInformation Items for the given album present in the media database. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -163,6 +168,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media files associated with the given media album and meeting desired filter option. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/AudioInformation.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/AudioInformation.cs index 3785a2c..e5fc8d8 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/AudioInformation.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/AudioInformation.cs @@ -37,6 +37,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the ID of the media. /// + /// 3 public string MediaId { get @@ -60,6 +61,7 @@ namespace Tizen.Content.MediaContent /// Gets the album name. /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Album { get @@ -83,6 +85,7 @@ namespace Tizen.Content.MediaContent /// Gets the artist name. /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Artist { get @@ -106,6 +109,7 @@ namespace Tizen.Content.MediaContent /// Gets the album artist name. /// If the media content has no album info, the property returns empty string. /// + /// 3 public string AlbumArtist { get @@ -129,6 +133,7 @@ namespace Tizen.Content.MediaContent /// Gets the genre. /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Genre { get @@ -153,6 +158,7 @@ namespace Tizen.Content.MediaContent /// If the value is an empty string, the property returns "Unknown". /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Composer { get @@ -176,6 +182,7 @@ namespace Tizen.Content.MediaContent /// Gets the year. /// If the media content has no album info, the property returns empty string. /// + /// 3 public string Year { get @@ -198,6 +205,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the recorded date. /// + /// 3 public string RecordedDate { get @@ -221,6 +229,7 @@ namespace Tizen.Content.MediaContent /// Gets the copyright. /// If the media content has no copyright information, the property returns empty string. /// + /// 3 public string Copyright { get @@ -244,6 +253,7 @@ namespace Tizen.Content.MediaContent /// Gets the track number. /// If the media content has no track information, the property returns empty string. /// + /// 3 public string TrackNumber { get @@ -266,6 +276,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the bitrate in bit per second [bps]. /// + /// 3 public int BitRate { get @@ -281,6 +292,7 @@ namespace Tizen.Content.MediaContent /// /// Gets bit per sample. /// + /// 3 public int BitPerSample { get @@ -296,6 +308,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the sample rate in hz. /// + /// 3 public int SampleRate { get @@ -311,6 +324,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the channel. /// + /// 3 public int Channel { get @@ -326,6 +340,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the track duration in Milliseconds. /// + /// 3 public int Duration { get @@ -342,6 +357,7 @@ namespace Tizen.Content.MediaContent /// Gets the number of MediaBookmark for the passed filter in the given media ID from the media database. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// /// int count /// The Filter for matching Bookmarks @@ -359,6 +375,7 @@ namespace Tizen.Content.MediaContent /// Returns the MediaBookmarks for the given media info from the media database. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// /// Task to get all the Bookmarks /// @@ -385,6 +402,7 @@ namespace Tizen.Content.MediaContent /// /// Adds a MediaBookmark to the audio /// + /// 3 /// Offset of the audio in seconds /// /// Task with newly added MediaBookmark instance. @@ -413,6 +431,7 @@ namespace Tizen.Content.MediaContent /// /// Deletes a MediaBookmark item from the media database. /// + /// 3 /// The MediaBookmark instance to be deleted public void DeleteBookmark(MediaBookmark bookmark) { diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentCollection.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentCollection.cs index dd4a247..2e4ae7e 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentCollection.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentCollection.cs @@ -27,6 +27,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the media count for this content store matching the passed filter /// + /// 3 /// the media filter /// Media count public abstract int GetMediaInformationCount(ContentFilter filter); @@ -35,11 +36,13 @@ namespace Tizen.Content.MediaContent /// Destroys the unmanaged handles. /// Call Dispose API once Contentcollection operations are completed. /// + /// 3 public abstract void Dispose(); /// /// Gets the media matching the passed filter for this content store, asynchronously /// + /// 3 /// The media filter /// Task with Media Information list public abstract IEnumerable GetMediaInformations(ContentFilter filter); diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentColumns.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentColumns.cs index 1f4b0be..6c10037 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentColumns.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentColumns.cs @@ -32,6 +32,7 @@ namespace Tizen.Content.MediaContent /// /// Media UUID /// + /// 4 public static string Id { get @@ -43,6 +44,7 @@ namespace Tizen.Content.MediaContent /// /// Media path /// + /// 4 public static string Path { get @@ -54,6 +56,7 @@ namespace Tizen.Content.MediaContent /// /// Display name /// + /// 4 public static string DisplayName { get @@ -65,6 +68,7 @@ namespace Tizen.Content.MediaContent /// /// The type of media (0-image, 1-video, 2-sound, 3-music, 4-other) /// + /// 4 public static string MediaType { get @@ -76,6 +80,7 @@ namespace Tizen.Content.MediaContent /// /// Mime type /// + /// 4 public static string MimeType { get @@ -88,6 +93,7 @@ namespace Tizen.Content.MediaContent /// /// File size /// + /// 4 public static string Size { get @@ -99,6 +105,7 @@ namespace Tizen.Content.MediaContent /// /// Added time /// + /// 4 public static string AddedTime { get @@ -110,6 +117,7 @@ namespace Tizen.Content.MediaContent /// /// Modified time /// + /// 4 public static string ModifiedTime { get @@ -121,6 +129,7 @@ namespace Tizen.Content.MediaContent /// /// Timeline. Normally, creation date of media /// + /// 4 public static string Timeline { get @@ -132,6 +141,7 @@ namespace Tizen.Content.MediaContent /// /// The path of thumbnail /// + /// 4 public static string ThumbnailPath { get @@ -143,6 +153,7 @@ namespace Tizen.Content.MediaContent /// /// Title /// + /// 4 public static string Title { get @@ -154,6 +165,7 @@ namespace Tizen.Content.MediaContent /// /// Album name /// + /// 4 public static string Album { get @@ -165,6 +177,7 @@ namespace Tizen.Content.MediaContent /// /// Artist /// + /// 4 public static string Artist { get @@ -176,6 +189,7 @@ namespace Tizen.Content.MediaContent /// /// Album artist /// + /// 4 public static string AlbumArtist { get @@ -187,6 +201,7 @@ namespace Tizen.Content.MediaContent /// /// Genre /// + /// 4 public static string Genre { get @@ -198,6 +213,7 @@ namespace Tizen.Content.MediaContent /// /// Composer /// + /// 4 public static string Composer { get @@ -209,6 +225,7 @@ namespace Tizen.Content.MediaContent /// /// Release year /// + /// 4 public static string Year { get @@ -220,6 +237,7 @@ namespace Tizen.Content.MediaContent /// /// Recorded date /// + /// 4 public static string RecordedDate { get @@ -231,6 +249,7 @@ namespace Tizen.Content.MediaContent /// /// Copyright /// + /// 4 public static string Copyright { get @@ -242,6 +261,7 @@ namespace Tizen.Content.MediaContent /// /// Track Number /// + /// 4 public static string TrackNumber { get @@ -253,6 +273,7 @@ namespace Tizen.Content.MediaContent /// /// Description /// + /// 4 public static string Description { get @@ -264,6 +285,7 @@ namespace Tizen.Content.MediaContent /// /// Bitrate /// + /// 4 public static string Bitrate { get @@ -275,6 +297,7 @@ namespace Tizen.Content.MediaContent /// /// Bit per sample /// + /// 4 public static string BitPerSample { get @@ -286,6 +309,7 @@ namespace Tizen.Content.MediaContent /// /// Samplerate /// + /// 4 public static string Samplerate { get @@ -297,6 +321,7 @@ namespace Tizen.Content.MediaContent /// /// Channel /// + /// 4 public static string Channel { get @@ -308,6 +333,7 @@ namespace Tizen.Content.MediaContent /// /// Duration /// + /// 4 public static string Duration { get @@ -319,6 +345,7 @@ namespace Tizen.Content.MediaContent /// /// Longitude /// + /// 4 public static string Longitude { get @@ -330,6 +357,7 @@ namespace Tizen.Content.MediaContent /// /// Latitude /// + /// 4 public static string Latitude { get @@ -341,6 +369,7 @@ namespace Tizen.Content.MediaContent /// /// Altitude /// + /// 4 public static string Altitude { get @@ -351,6 +380,7 @@ namespace Tizen.Content.MediaContent /// /// Width /// + /// 4 public static string Width { get @@ -362,6 +392,7 @@ namespace Tizen.Content.MediaContent /// /// Height /// + /// 4 public static string Height { get @@ -373,6 +404,7 @@ namespace Tizen.Content.MediaContent /// /// Datetaken /// + /// 4 public static string Datetaken { get @@ -384,6 +416,7 @@ namespace Tizen.Content.MediaContent /// /// Orientation /// + /// 4 public static string Orientation { get @@ -395,6 +428,7 @@ namespace Tizen.Content.MediaContent /// /// Burst shot ID /// + /// 4 public static string BurstId { get @@ -406,6 +440,7 @@ namespace Tizen.Content.MediaContent /// /// Played count /// + /// 4 public static string PlayedCount { get @@ -417,6 +452,7 @@ namespace Tizen.Content.MediaContent /// /// Last played time /// + /// 4 public static string PlayedTime { get @@ -428,6 +464,7 @@ namespace Tizen.Content.MediaContent /// /// Last played position /// + /// 4 public static string PlayedPosition { get @@ -439,6 +476,7 @@ namespace Tizen.Content.MediaContent /// /// Rating /// + /// 4 public static string Rating { get @@ -450,6 +488,7 @@ namespace Tizen.Content.MediaContent /// /// Favourite /// + /// 4 public static string Favourite { get @@ -461,6 +500,7 @@ namespace Tizen.Content.MediaContent /// /// Author /// + /// 4 public static string Author { get @@ -472,6 +512,7 @@ namespace Tizen.Content.MediaContent /// /// Provider /// + /// 4 public static string Provider { get @@ -482,6 +523,7 @@ namespace Tizen.Content.MediaContent /// /// Content name /// + /// 4 public static string ContentName { get @@ -493,6 +535,7 @@ namespace Tizen.Content.MediaContent /// /// Category /// + /// 4 public static string Category { get @@ -503,6 +546,7 @@ namespace Tizen.Content.MediaContent /// /// Location tag /// + /// 4 public static string LocationTag { get @@ -514,6 +558,7 @@ namespace Tizen.Content.MediaContent /// /// Age rating /// + /// 4 public static string AgeRating { get @@ -525,6 +570,7 @@ namespace Tizen.Content.MediaContent /// /// Keyword /// + /// 4 public static string Keyword { get @@ -536,6 +582,7 @@ namespace Tizen.Content.MediaContent /// /// Weather /// + /// 4 public static string Weather { get @@ -547,6 +594,7 @@ namespace Tizen.Content.MediaContent /// /// Whether DRM(1) or not(0) /// + /// 4 public static string IsDRM { get @@ -558,6 +606,7 @@ namespace Tizen.Content.MediaContent /// /// Storage type /// + /// 4 public static string StorageType { get @@ -569,6 +618,7 @@ namespace Tizen.Content.MediaContent /// /// Exposure time /// + /// 4 public static string ExposureTime { get @@ -580,6 +630,7 @@ namespace Tizen.Content.MediaContent /// /// f-number /// + /// 4 public static string FNumber { get @@ -591,6 +642,7 @@ namespace Tizen.Content.MediaContent /// /// ISO /// + /// 4 public static string Iso { get @@ -602,6 +654,7 @@ namespace Tizen.Content.MediaContent /// /// Model /// + /// 4 public static string Model { get @@ -613,6 +666,7 @@ namespace Tizen.Content.MediaContent /// /// 360 content /// + /// 4 public static string Media360 { get @@ -629,6 +683,7 @@ namespace Tizen.Content.MediaContent /// /// File name (pinyin) /// + /// 4 public static string FileName { get @@ -640,6 +695,7 @@ namespace Tizen.Content.MediaContent /// /// Title (pinyin) /// + /// 4 public static string Title { get @@ -651,6 +707,7 @@ namespace Tizen.Content.MediaContent /// /// Album (pinyin) /// + /// 4 public static string Album { get @@ -662,6 +719,7 @@ namespace Tizen.Content.MediaContent /// /// Artist (pinyin) /// + /// 4 public static string Artist { get @@ -673,6 +731,7 @@ namespace Tizen.Content.MediaContent /// /// Album artist (pinyin) /// + /// 4 public static string AlbumArtist { get @@ -684,6 +743,7 @@ namespace Tizen.Content.MediaContent /// /// Genre (pinyin) /// + /// 4 public static string Genre { get @@ -695,6 +755,7 @@ namespace Tizen.Content.MediaContent /// /// Composer (pinyin) /// + /// 4 public static string Composer { get @@ -706,6 +767,7 @@ namespace Tizen.Content.MediaContent /// /// Copyright (pinyin) /// + /// 4 public static string Copyright { get @@ -717,6 +779,7 @@ namespace Tizen.Content.MediaContent /// /// Description (pinyin) /// + /// 4 public static string Description { get @@ -728,6 +791,7 @@ namespace Tizen.Content.MediaContent /// /// Author (pinyin) /// + /// 4 public static string Author { get @@ -739,6 +803,7 @@ namespace Tizen.Content.MediaContent /// /// Provider (pinyin) /// + /// 4 public static string Provider { get @@ -750,6 +815,7 @@ namespace Tizen.Content.MediaContent /// /// Content name (pinyin) /// + /// 4 public static string ContentName { get @@ -761,6 +827,7 @@ namespace Tizen.Content.MediaContent /// /// Category (pinyin) /// + /// 4 public static string Category { get @@ -772,6 +839,7 @@ namespace Tizen.Content.MediaContent /// /// Location tag (pinyin) /// + /// 4 public static string LocationTag { get @@ -783,6 +851,7 @@ namespace Tizen.Content.MediaContent /// /// Age rating (pinyin) /// + /// 4 public static string AgeRating { get @@ -794,6 +863,7 @@ namespace Tizen.Content.MediaContent /// /// Keyword (pinyin) /// + /// 4 public static string Keyword { get @@ -814,6 +884,7 @@ namespace Tizen.Content.MediaContent /// ///Folder UUID /// + /// 4 public static string Id { get @@ -825,6 +896,7 @@ namespace Tizen.Content.MediaContent /// /// Folder path /// + /// 4 public static string Path { get @@ -836,6 +908,7 @@ namespace Tizen.Content.MediaContent /// /// Folder name /// + /// 4 public static string Name { get @@ -847,6 +920,7 @@ namespace Tizen.Content.MediaContent /// /// Folder modified time /// + /// 4 public static string ModifiedTime { get @@ -858,6 +932,7 @@ namespace Tizen.Content.MediaContent /// /// Folder storage type /// + /// 4 public static string StorageType { get @@ -874,6 +949,7 @@ namespace Tizen.Content.MediaContent /// /// Folder name (pinyin) /// + /// 4 public static string Name { get @@ -887,6 +963,7 @@ namespace Tizen.Content.MediaContent /// /// Folder order. Default is 0 /// + /// 4 public static string Order { get @@ -898,6 +975,7 @@ namespace Tizen.Content.MediaContent /// /// Parent folder UUID /// + /// 4 public static string ParentId { get @@ -916,6 +994,7 @@ namespace Tizen.Content.MediaContent /// /// Playlist name /// + /// 4 public static string Name { get @@ -926,6 +1005,7 @@ namespace Tizen.Content.MediaContent /// /// Playlist member's play order /// + /// 4 public static string Order { get @@ -937,6 +1017,7 @@ namespace Tizen.Content.MediaContent /// /// Count of media in the playlist /// + /// 4 public static string Count { get @@ -955,6 +1036,7 @@ namespace Tizen.Content.MediaContent /// /// Tag name /// + /// 4 public static string Name { get @@ -966,6 +1048,7 @@ namespace Tizen.Content.MediaContent /// /// Count of media in the tag /// + /// 4 public static string Count { get @@ -984,6 +1067,7 @@ namespace Tizen.Content.MediaContent /// /// Bookmarked offset /// + /// 4 public static string Offset { get @@ -1002,6 +1086,7 @@ namespace Tizen.Content.MediaContent /// /// Storage UUID /// + /// 4 public static string Id { get @@ -1013,6 +1098,7 @@ namespace Tizen.Content.MediaContent /// /// Storage path /// + /// 4 public static string Path { get @@ -1031,6 +1117,7 @@ namespace Tizen.Content.MediaContent /// /// face tag /// + /// 4 public static string Tag { get diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentDatabase.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentDatabase.cs index 1a9416b..e2389a3 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentDatabase.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentDatabase.cs @@ -48,6 +48,7 @@ namespace Tizen.Content.MediaContent /// /// Connect to the media database to search, insert, remove or modify media information. /// + /// 4 /// /// For information security, disconnect() after use media database. /// @@ -59,6 +60,7 @@ namespace Tizen.Content.MediaContent /// /// Disconnect from the media database. /// + /// 4 public static void Disconnect() { MediaContentValidator.ThrowIfError(Interop.Content.Disconnect(), "Disconnect failed"); @@ -83,6 +85,7 @@ namespace Tizen.Content.MediaContent /// /// ContentUpdated event is triggered when the media DB changes. /// + /// 3 /// /// A ContentUpdatedEventArgs object that contains information about the update operation. public static event EventHandler ContentUpdated @@ -112,6 +115,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the count of ContentCollections for the ContentCollectionType and passed filter from the media database. /// + /// 3 /// The media filter /// The count of contents present in the media database for a ContentSourceType public int GetCount(ContentFilter filter) where T : class @@ -175,6 +179,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the MediaInformation object for the passed media Id. /// + /// 3 /// The media id to fetch the respective MediaInformation instance /// MediaInformation instance for the associated id.It throws Exception for invalid Id. public MediaInformation Select(string id) @@ -222,6 +227,7 @@ namespace Tizen.Content.MediaContent /// Gets the ContentCollection object for the passed media Id. /// Applicable for MediaFolder and Storage types. /// + /// 3 /// The ContentCollection id to fetch the respective MediaInformation instance /// ContentCollection instance for the associated id.It throws Exception for invalid Id. public T Select(string id) where T : ContentCollection @@ -261,6 +267,7 @@ namespace Tizen.Content.MediaContent /// Gets the ContentCollection object for the passed media Id. /// Applicable for PlayList, Album and Tag types. /// + /// 3 /// The ContentCollection id to fetch the respective MediaInformation instance /// ContentCollection instance for the associated id.It throws Exception for invalid Id. public T Select(int id) where T : ContentCollection @@ -430,6 +437,7 @@ namespace Tizen.Content.MediaContent /// /// Returns the ContentCollections with optional filter from the media database. /// + /// 3 /// /// This function gets all ContentCollections matching the given filter. If NULL is passed to the filter, no filtering is applied. /// @@ -482,6 +490,7 @@ namespace Tizen.Content.MediaContent /// Returns media from the media database. /// This function gets all media meeting the given filter /// + /// 3 /// The media filter /// List of media private IEnumerable GetMediaInformations(ContentFilter filter) @@ -536,6 +545,7 @@ namespace Tizen.Content.MediaContent /// /// Deletes a MediaInformation from the media database. /// + /// 3 /// The MediaInformation to be deleted public void Delete(MediaInformation mediaInfo) { @@ -549,6 +559,7 @@ namespace Tizen.Content.MediaContent /// Applicable for Tag and PlayList only. /// For other types ArgumentException is thrown. /// + /// 3 /// The ContentCollection instance to be deleted public void Delete(ContentCollection contentcollection) { @@ -586,6 +597,7 @@ namespace Tizen.Content.MediaContent /// Updates a content collection in the media database /// Applicable for Tag, PlayList and MediagFolder types only. /// + /// 3 /// The content collection to be updated public void Update(ContentCollection contentCollection) { @@ -614,6 +626,7 @@ namespace Tizen.Content.MediaContent /// /// Updates a media information instance in the media database /// + /// 3 /// The MediaInformation object to be updated public void Update(MediaInformation mediaInfo) { @@ -662,6 +675,7 @@ namespace Tizen.Content.MediaContent /// Inserts a content collection to the media database. /// Applicable for Tag and PlayList types only. /// + /// 3 /// The content collection to be inserted public void Insert(ContentCollection contentCollection) { diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentEventArgs.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentEventArgs.cs index b50159f..283fc87 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentEventArgs.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentEventArgs.cs @@ -40,6 +40,7 @@ namespace Tizen.Content.MediaContent /// /// The error code /// + /// 3 public MediaContentError Error { get; @@ -49,6 +50,7 @@ namespace Tizen.Content.MediaContent /// /// The PID which publishes notification /// + /// 3 public int Pid { get; set; @@ -57,6 +59,7 @@ namespace Tizen.Content.MediaContent /// /// The update item of notification /// + /// 3 public MediaContentUpdateItemType UpdateItem { get; set; @@ -65,6 +68,7 @@ namespace Tizen.Content.MediaContent /// /// The update type of notification /// + /// 3 public MediaContentDBUpdateType UpdateType { get; set; @@ -73,6 +77,7 @@ namespace Tizen.Content.MediaContent /// /// The type of the media content /// + /// 3 public MediaContentType MediaType { get; set; @@ -81,6 +86,7 @@ namespace Tizen.Content.MediaContent /// /// The UUID of media or directory, which is updated /// + /// 3 public string Uuid { get; set; @@ -89,6 +95,7 @@ namespace Tizen.Content.MediaContent /// /// The path of the media or directory /// + /// 3 public string FilePath { get; set; @@ -97,6 +104,7 @@ namespace Tizen.Content.MediaContent /// /// The mime type of the media info /// + /// 3 public string MimeType { get; set; diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentFilter.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentFilter.cs index eaf358c..97d4998 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentFilter.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentFilter.cs @@ -118,6 +118,7 @@ namespace Tizen.Content.MediaContent /// The start position of the given filter Starting from zero. /// Please note that count value has to be set properly for correct result. /// + /// 3 public int Offset { get @@ -146,6 +147,7 @@ namespace Tizen.Content.MediaContent /// /// The number of items to be searched with respect to the offset /// + /// 3 public int Count { get @@ -168,6 +170,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the media filter content order and order keyword. /// + /// 3 public ContentOrder Order { get @@ -190,6 +193,7 @@ namespace Tizen.Content.MediaContent /// /// The search order keyword /// + /// 3 public string OrderKey { get @@ -222,6 +226,7 @@ namespace Tizen.Content.MediaContent /// /// The collate type for comparing two strings /// + /// 3 public ContentCollation OrderCollationType { get @@ -244,6 +249,7 @@ namespace Tizen.Content.MediaContent /// /// Gets/Sets the condition for the given filter. /// + /// 3 public string Condition { get @@ -275,6 +281,7 @@ namespace Tizen.Content.MediaContent /// /// The collate type for comparing two strings /// + /// 3 public ContentCollation ConditionCollationType { get @@ -298,6 +305,7 @@ namespace Tizen.Content.MediaContent /// Sets the storage id for the given filter. /// You can use this property when you want to search items only in the specific storage /// + /// 3 public string StorageId { get @@ -326,12 +334,14 @@ namespace Tizen.Content.MediaContent /// /// The type of the media group /// + /// 3 public MediaGroupType GroupType { get; set; } /// /// Dispose API for closing the internal resources. /// This function can be used to stop all effects started by Vibrate(). /// + /// 3 public void Dispose() { Dispose(true); diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentManager.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentManager.cs index acb313b..6044b87 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentManager.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ContentManager.cs @@ -50,6 +50,7 @@ namespace Tizen.Content.MediaContent /// /// Database instance to do all the Database oprtions for media content management. /// + /// 3 public static ContentDatabase Database { get @@ -61,6 +62,7 @@ namespace Tizen.Content.MediaContent /// /// Requests to scan a media file. /// + /// 3 /// File path of the media to be scanned /// A reference to the MediaInformation object scanned /// @@ -77,6 +79,7 @@ namespace Tizen.Content.MediaContent /// /// Inserts a media to the media database /// + /// 3 /// File path of the media to be inserted /// the MediaInformation instance about added media path public static MediaInformation AddMediaInformation(string filePath) @@ -123,6 +126,7 @@ namespace Tizen.Content.MediaContent /// /// Requests to scan a media folder, asynchronously. /// + /// 3 /// The folder path /// Indicate sif the folder is to recursively scanned. Default value: true /// @@ -152,6 +156,7 @@ namespace Tizen.Content.MediaContent /// /// Requests to scan a media folder, asynchronously. /// + /// 3 /// The folder path /// Cancellation token required to cancel the current scan /// Indicate sif the folder is to recursively scanned. Default value: true @@ -203,6 +208,7 @@ namespace Tizen.Content.MediaContent /// /// Inserts media files into the media database, asynchronously. /// + /// 3 /// The path array to the media files /// /// Task with the result of batch insertion @@ -225,6 +231,7 @@ namespace Tizen.Content.MediaContent /// /// Inserts the burst shot images into the media database, asynchronously. /// + /// 3 /// The path array to the burst shot images /// /// Task with the result of the burstshot insertion @@ -249,6 +256,7 @@ namespace Tizen.Content.MediaContent /// This function deletes the media items from the content storage.Normally, deleting media files in the database are done automatically by the media server, /// without calling this function.This function is only called when the media server is busy and user needs to get quick result of deleting. /// + /// 3 /// The content filter to which media will be matched public static void RemoveMediaInformationBatch(ContentFilter filter) { diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/FaceRect.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/FaceRect.cs index dd2d2fc..93298a9 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/FaceRect.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/FaceRect.cs @@ -35,21 +35,25 @@ namespace Tizen.Content.MediaContent /// /// X coordinate of the FaceRect /// + /// 3 public readonly int X; /// /// Y coordinate of the FaceRect /// + /// 3 public readonly int Y; /// /// Width of the FaceRect /// + /// 3 public readonly int Width; /// /// Height of the FaceRect /// + /// 3 public readonly int Height; } } diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Group.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Group.cs index 247c7fb..d037f3b 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Group.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Group.cs @@ -34,6 +34,7 @@ namespace Tizen.Content.MediaContent /// /// The name of the media group /// + /// 3 public string Name { get { return _groupName; } @@ -62,6 +63,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the count of the media info for the given media group present in the media database. /// + /// 3 /// ContentFilter used to match media content from the media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -80,6 +82,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media files associated with the given group and meeting desired filter option. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInformation.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInformation.cs index afd0e06..e6922d3 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInformation.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInformation.cs @@ -33,6 +33,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the id of the media. /// + /// 3 public string MediaId { get @@ -55,6 +56,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the image width in pixels. /// + /// 3 public int Width { get @@ -70,6 +72,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the image height in pixels. /// + /// 3 public int Height { get @@ -85,6 +88,7 @@ namespace Tizen.Content.MediaContent /// /// Image orientation. /// + /// 3 public MediaContentOrientation Orientation { get @@ -106,6 +110,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the image creation time in seconds, since the Epoch. /// + /// 3 public string TakenDate { get @@ -129,6 +134,7 @@ namespace Tizen.Content.MediaContent /// Gets the burst shot ID. /// If BurstId is null, this is not a burst shot /// + /// 3 public string BurstId { get @@ -151,6 +157,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the exposure time from exif. /// + /// 3 public string ExposureTime { get @@ -173,6 +180,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the fnumber from exif. /// + /// 3 public double FNumber { get @@ -188,6 +196,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the iso from exif. /// + /// 3 public int Iso { get @@ -203,6 +212,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the model from exif. /// + /// 3 public string Model { get @@ -227,6 +237,7 @@ namespace Tizen.Content.MediaContent /// The value is true if the media is a burst shot image, /// otherwise false if the media is not a burst shot image. /// + /// 3 public bool IsBurstShot { get @@ -243,6 +254,7 @@ namespace Tizen.Content.MediaContent /// Iterates through the media faces with filter in the given media file from the media database. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// /// Task to get all the MediaFaces /// filter for the Tags @@ -269,6 +281,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the number of faces for the passed filter in the given media ID from the media database. /// + /// 3 /// /// int count /// The Filter for matching Face @@ -286,6 +299,7 @@ namespace Tizen.Content.MediaContent /// /// Inserts a MediaFace item to the media database /// + /// 3 /// The image on which face is to be added /// The dimensions of the face /// The MediaFace instance @@ -299,6 +313,7 @@ namespace Tizen.Content.MediaContent /// /// Deletes the MediaFace from the media database. /// + /// 3 /// The face instance to be deleted public void DeleteFace(MediaFace face) { @@ -308,6 +323,7 @@ namespace Tizen.Content.MediaContent /// /// Updates the MediaFace in the media database /// + /// 3 /// The MediaFace object to be updated public void UpdateFace(MediaFace face) { diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaBookmark.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaBookmark.cs index 2c101d8..07e14bb 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaBookmark.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaBookmark.cs @@ -54,6 +54,7 @@ namespace Tizen.Content.MediaContent /// /// The media bookmark ID /// + /// 3 public int Id { get @@ -69,6 +70,7 @@ namespace Tizen.Content.MediaContent /// /// The thumbnail path of media bookmark /// + /// 3 public string ThumbnailPath { get @@ -91,6 +93,7 @@ namespace Tizen.Content.MediaContent /// /// The bookmark time offset (in milliseconds) /// + /// 3 public uint Offset { get diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentEnums.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentEnums.cs index 7b8524b..2c59329 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentEnums.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentEnums.cs @@ -21,315 +21,391 @@ namespace Tizen.Content.MediaContent /// /// Enumeration for ordering /// + /// 3 public enum ContentOrder { /// /// Ascending order /// + /// 3 Asc, /// /// Descending order /// + /// 3 Desc } /// /// Enumeration for collations. /// + /// 3 public enum ContentCollation { /// /// Default collation BINARY /// + /// 3 Default, /// /// Collation NOCASE, not case sensitive /// + /// 3 Nocase, /// /// Collation RTRIM, trailing space characters are ignored /// + /// 3 Rtim, /// /// Collation LOCALIZATION, NOCASE also applied /// + /// 3 Localized } /// /// Enumeration for a media group. /// + /// 3 public enum MediaGroupType { /// /// Media group ID for display name /// + /// 3 DisplayName, /// /// Media group ID for a media type /// + /// 3 Type, /// /// Media group ID for a mime type /// + /// 3 MimeType, /// /// Media group ID for content size /// + /// 3 Size, /// /// Media group ID for the added time /// + /// 3 AddedTime, /// /// Media group ID for the modified time /// + /// 3 ModifiedTime, /// /// Media group ID for a content title /// + /// 3 Title, /// /// Media group ID for an artist /// + /// 3 Artist, /// /// Media group ID for an album artist /// + /// 3 AlbumArtist, /// /// Media group ID for a genre /// + /// 3 Genre, /// /// Media group ID for a composer /// + /// 3 Composer, /// /// Media group ID for a year /// + /// 3 Year, /// /// Media group ID for the recorded date /// + /// 3 RecordedDate, /// /// Media group ID for the copyright /// + /// 3 Copyright, /// /// Media group ID for a track number /// + /// 3 Tracknum, /// /// Media group ID for a description /// + /// 3 Description, /// /// Media group ID for the longitude /// + /// 3 Longitude, /// /// Media group ID for the latitude /// + /// 3 Latitude, /// /// Media group ID for the altitude /// + /// 3 Altitude, /// /// Media group ID for the burst shot /// + /// 3 BurstImage, /// /// Media group ID for a rating /// + /// 3 Rating, /// /// Media group ID for an author /// + /// 3 Author, /// /// Media group ID for a provide /// + /// 3 Provider, /// /// Media group ID for the content name /// + /// 3 ContentName, /// /// Media group ID for a category /// + /// 3 Category, /// /// Media group ID for a location tag /// + /// 3 LocationTag, /// /// Media group ID for an age rating /// + /// 3 AgeRating, /// /// Media group ID for a keyword /// + /// 3 Keyword, /// /// Media group ID for the weather /// + /// 3 Weather, /// /// Invalid media group ID /// + /// 3 Max } /// - /// Enum to give the type of storage. + /// Enum to give the type of storage. + /// + /// 3 public enum ContentStorageType : int { /// /// The device's internal storage /// + /// 3 Internal = 0, /// /// The device's external storage like sd card /// + /// 3 External = 1, /// /// The external USB storage /// + /// 3 ExternalUSB = 2 }; /// /// Enums for media database update type /// + /// 3 public enum MediaContentDBUpdateType { /// - /// + /// Updating the database with inserts. /// + /// 3 Insert, /// - /// + /// Updating the database with removes. /// + /// 3 Delete, /// - /// + /// Updating the database with updates. /// + /// 3 Update } /// /// Enums for the type of item updated in media database /// + /// 3 public enum MediaContentUpdateItemType { /// - /// + /// The file information is updated. /// + /// 3 File, /// - /// + /// The folder information and the file information included in the folder are updated. /// + /// 3 Directory } /// /// Enums for content collection types /// + /// 3 public enum ContentCollectionType { /// ///Content Collection type folder /// + /// 3 Folder, /// ///Content Collection type storage /// + /// 3 Storage, /// /// Content Collection type album /// + /// 3 Album, /// ///Content Collection type playlist /// + /// 3 PlayList, /// ///Content Collection type tag /// + /// 3 Tag, /// ///Content Collection type group /// + /// 3 Group } /// - /// Enum to give the type of media information. + /// Enum to give the type of media information. + /// + /// 3 public enum MediaContentType : int { /// /// The type of an image. /// + /// 3 Image = 0, /// /// The type of a video. /// + /// 3 Video = 1, /// /// The type of sound. /// + /// 3 Sound = 2, /// /// The type of music. /// + /// 3 Music = 3, /// /// The type of other. /// + /// 3 Others = 4 }; /// - /// Enum to give the orientation type of the media. + /// Enum to give the orientation type of the media. + /// + /// 3 public enum MediaContentOrientation : int { /// /// Not available. /// + /// 3 NotAvailable = 0, /// /// Normal. /// + /// 3 Normal = 1, /// /// Flip horizontal. /// + /// 3 HFlip = 2, /// /// Rotate 180 degrees. /// + /// 3 Rot180 = 3, /// /// Flip vertical. /// + /// 3 VFlip = 4, /// /// Transpose. /// + /// 3 Transpose = 5, /// /// Rotate 90 degrees. /// + /// 3 Rot90 = 6, /// /// Transverse. /// + /// 3 Transverse = 7, /// /// Rotate 270 degrees. /// + /// 3 Rot270 = 8 }; } diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentError.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentError.cs index fc741a6..421c370 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentError.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaContentError.cs @@ -24,6 +24,7 @@ namespace Tizen.Content.MediaContent /// /// Enumeration for media content's error code /// + /// 3 /// error occurs when the device does not support the function. public enum MediaContentError { diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFace.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFace.cs index 8f80ec9..134ab1f 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFace.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFace.cs @@ -50,6 +50,7 @@ namespace Tizen.Content.MediaContent /// /// Create Face for Given Image /// + /// 3 /// ///image item through which FaceRect has to be tagged. /// @@ -79,6 +80,7 @@ namespace Tizen.Content.MediaContent /// /// The Media Face Information API provides functions to manage the face information in the image files. /// + /// 3 public FaceRect Rect { get @@ -104,6 +106,7 @@ namespace Tizen.Content.MediaContent /// /// Face id. /// + /// 3 public string Id { get @@ -126,6 +129,7 @@ namespace Tizen.Content.MediaContent /// /// Media uuid from the face /// + /// 3 public string MediaInformationId { get @@ -147,6 +151,7 @@ namespace Tizen.Content.MediaContent /// /// Tag name for the MediaFace. /// + /// 3 public string Tag { get @@ -175,6 +180,7 @@ namespace Tizen.Content.MediaContent /// /// Orientation Value for the face /// + /// 3 public MediaContentOrientation Orientation { get @@ -196,6 +202,7 @@ namespace Tizen.Content.MediaContent /// /// Dispose API for closing the internal resources. /// + /// 3 public void Dispose() { Dispose(true); diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFolder.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFolder.cs index 2860fc7..af120ca 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFolder.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaFolder.cs @@ -47,6 +47,7 @@ namespace Tizen.Content.MediaContent /// /// The ID of the media folder. For each MediaFolder this id is unique. /// + /// 3 public string Id { get @@ -69,6 +70,7 @@ namespace Tizen.Content.MediaContent /// /// ParentId of the MediaFolder that is the ID of the upper media folder (parent folder). /// + /// 3 public string ParentId { get @@ -91,6 +93,7 @@ namespace Tizen.Content.MediaContent /// /// The path of the media folder /// + /// 3 public string FolderPath { get @@ -113,6 +116,7 @@ namespace Tizen.Content.MediaContent /// /// The name of the media folder /// + /// 3 public string Name { get @@ -142,6 +146,7 @@ namespace Tizen.Content.MediaContent /// The storage type of the media folder. /// Storage types give information about the location of storage like Internal memory, USB or External Storage etc... /// + /// 3 public ContentStorageType StorageType { get @@ -157,6 +162,7 @@ namespace Tizen.Content.MediaContent /// /// The storage id of the media folder /// + /// 3 public string StorageId { get @@ -179,6 +185,7 @@ namespace Tizen.Content.MediaContent /// /// The modified date of the media folder /// + /// 3 public DateTime ModifiedTime { get @@ -196,6 +203,7 @@ namespace Tizen.Content.MediaContent /// Default Order value is zero. /// If you set the order value for each folder, you can sort in ascending or descending order as the set order values using the filter. /// + /// 3 public int Order { get @@ -223,6 +231,7 @@ namespace Tizen.Content.MediaContent /// Gets the count of media files for the passed filter in the given folder from the media database. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from teh media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -265,6 +274,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media files associated with the given folder and meeting desired filter option. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaInformation.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaInformation.cs index 29c0747..49b1788 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaInformation.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaInformation.cs @@ -38,6 +38,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the count of media tags for the passed filter in the given mediaId from the media database. /// + /// 3 /// /// int count /// The Filter for matching Tags @@ -54,6 +55,7 @@ namespace Tizen.Content.MediaContent /// /// Moves the media info to the given destination path in the media database. /// + /// 3 /// /// void /// The Destination path @@ -66,6 +68,7 @@ namespace Tizen.Content.MediaContent /// /// Refreshes the media metadata to the media database. /// + /// 3 /// /// void public void Refresh() @@ -78,6 +81,7 @@ namespace Tizen.Content.MediaContent /// Creates a thumbnail image for the given media, asynchronously /// If a thumbnail already exists for the given media, then the path of thumbnail will be returned. /// + /// 3 /// /// Task for creation of Thumbnail public Task CreateThumbnailAsync() @@ -85,9 +89,9 @@ namespace Tizen.Content.MediaContent var task = new TaskCompletionSource(); Interop.MediaInformation.MediaThumbnailCompletedCallback thumbnailResult = (MediaContentError createResult, string path, IntPtr userData) => { - if (createResult != MediaContentError.None) - { - task.SetException(new InvalidOperationException("Failed to create thumbnail:" + createResult)); + if (createResult != MediaContentError.None) + { + task.SetException(new InvalidOperationException("Failed to create thumbnail:" + createResult)); } task.SetResult(path); @@ -103,6 +107,7 @@ namespace Tizen.Content.MediaContent /// which can be cancelled /// If a thumbnail already exists for the given media, then the path of thumbnail will be returned. /// + /// 3 /// Token to cancel the requested operation /// /// Task for creation of Thumbnail @@ -120,9 +125,9 @@ namespace Tizen.Content.MediaContent Interop.MediaInformation.MediaThumbnailCompletedCallback thumbnailResult = (MediaContentError createResult, string path, IntPtr userData) => { - if (createResult != MediaContentError.None) - { - task.SetException(new InvalidOperationException("Failed to create thumbnail:" + createResult)); + if (createResult != MediaContentError.None) + { + task.SetException(new InvalidOperationException("Failed to create thumbnail:" + createResult)); } task.SetResult(path); @@ -137,6 +142,7 @@ namespace Tizen.Content.MediaContent /// /// Iterates through the media tag in the given media info from the media database. /// + /// 3 /// /// Task to get all the Tags /// The filter for the Tags @@ -163,6 +169,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the ID of the media. /// + /// 3 public virtual string MediaId { get @@ -185,6 +192,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the path to the media. /// + /// 3 public string FilePath { get @@ -207,6 +215,7 @@ namespace Tizen.Content.MediaContent /// /// Name of the media. /// + /// 3 public string DisplayName { get @@ -235,6 +244,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the content type of the media. /// + /// 3 public MediaContentType MediaType { get @@ -250,6 +260,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the MIME type from the media. /// + /// 3 public string MimeType { get @@ -272,6 +283,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the media file size in bytes. /// + /// 3 public long Size { get @@ -287,6 +299,7 @@ namespace Tizen.Content.MediaContent /// /// Addition time of the media. /// + /// 3 public DateTime AddedAt { get @@ -310,6 +323,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the date of modification of media. /// + /// 3 public DateTime ModifiedAt { get @@ -327,6 +341,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the timeline of media. /// + /// 3 public DateTime TimeLine { get @@ -344,6 +359,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the thumbnail of media. /// + /// 3 public string ThumbnailPath { get @@ -367,6 +383,7 @@ namespace Tizen.Content.MediaContent /// Description of media. /// If the media info has no description, the property returns empty string. /// + /// 3 public string Description { get @@ -396,6 +413,7 @@ namespace Tizen.Content.MediaContent /// Longitude of media. /// Default Value is 0.0. /// + /// 3 public double Longitude { get @@ -418,6 +436,7 @@ namespace Tizen.Content.MediaContent /// Latitude of media. /// Default Value is 0.0. /// + /// 3 public double Latitude { get @@ -440,6 +459,7 @@ namespace Tizen.Content.MediaContent /// Altitude of media. /// Default Value is 0.0. /// + /// 3 public double Altitude { get @@ -461,6 +481,7 @@ namespace Tizen.Content.MediaContent /// /// Weather information of media. /// + /// 3 public string Weather { get @@ -489,6 +510,7 @@ namespace Tizen.Content.MediaContent /// /// Rating of media. /// + /// 3 public int Rating { get @@ -510,6 +532,7 @@ namespace Tizen.Content.MediaContent /// Favorite status of media. /// true if media info is set as favorite, otherwise false if media info is not set as favorite. /// + /// 3 public bool IsFavourite { get @@ -531,6 +554,7 @@ namespace Tizen.Content.MediaContent /// /// Author of media. /// + /// 3 public string Author { get @@ -559,6 +583,7 @@ namespace Tizen.Content.MediaContent /// /// Provider of media. /// + /// 3 public string Provider { get @@ -587,6 +612,7 @@ namespace Tizen.Content.MediaContent /// /// Content name of media. /// + /// 3 public string ContentName { get @@ -616,6 +642,7 @@ namespace Tizen.Content.MediaContent /// Gets the title of media. /// If the media content has no title, the property returns empty string. /// + /// 3 public string Title { get @@ -638,6 +665,7 @@ namespace Tizen.Content.MediaContent /// /// Category of media. /// + /// 3 public string Category { get @@ -666,6 +694,7 @@ namespace Tizen.Content.MediaContent /// /// location tag of media. /// + /// 3 public string LocationTag { get @@ -694,6 +723,7 @@ namespace Tizen.Content.MediaContent /// /// Age Rating of media. /// + /// 3 public string AgeRating { get @@ -722,6 +752,7 @@ namespace Tizen.Content.MediaContent /// /// Keyword of media. /// + /// 3 public string Keyword { get @@ -750,6 +781,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the storage id of media. /// + /// 3 public string StorageId { get @@ -772,6 +804,7 @@ namespace Tizen.Content.MediaContent /// /// Checks whether the media is protected via DRM. /// + /// 3 public bool IsDrm { get @@ -787,6 +820,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the storage type of media. /// + /// 3 public ContentStorageType StorageType { get @@ -803,6 +837,7 @@ namespace Tizen.Content.MediaContent /// Number which represents how many times given content has been played. /// While Setting the played count, it will only be incremented by 1, the value provided will be ignored. /// + /// 3 public int PlayedCount { get @@ -825,6 +860,7 @@ namespace Tizen.Content.MediaContent /// Content's latest played(opened) time of the media file. /// for set the current time is automatically taken from the system, the value provided will be ignored. /// + /// 3 public DateTime PlayedAt { get diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/PlayList.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/PlayList.cs index db85d2f..e440707 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/PlayList.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/PlayList.cs @@ -79,6 +79,7 @@ namespace Tizen.Content.MediaContent /// /// The ID of the media playlist /// + /// 3 public int Id { get @@ -95,6 +96,7 @@ namespace Tizen.Content.MediaContent /// /// The playlist name /// + /// 3 public string Name { get @@ -112,6 +114,7 @@ namespace Tizen.Content.MediaContent /// /// The path of the thumbnail /// + /// 3 public string ThumbnailPath { get @@ -139,6 +142,7 @@ namespace Tizen.Content.MediaContent /// /// The constructor to create a new playlist with the given name in the media database. /// + /// 3 /// The name of the inserted playlist public PlayList(string name) { @@ -164,6 +168,7 @@ namespace Tizen.Content.MediaContent /// /// Adds a new media info to the playlist. /// + /// 3 /// The AudioContent obect to be added public void AddItem(MediaInformation mediaContent) { @@ -174,6 +179,7 @@ namespace Tizen.Content.MediaContent /// /// Removes the playlist members related with the media from the given playlist. /// + /// 3 /// The AudioContent object to be removed public void RemoveItem(MediaInformation media) { @@ -187,6 +193,7 @@ namespace Tizen.Content.MediaContent /// /// Sets the playing order in the playlist. /// + /// 3 /// The playlist reference /// The playing order public void SetPlayOrder(MediaInformation media, int playOrder) @@ -201,6 +208,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the playing order in the playlist for the passed member id. /// + /// 3 /// The MediaInformation instance /// The number of play order public int GetPlayOrder(MediaInformation media) @@ -218,6 +226,7 @@ namespace Tizen.Content.MediaContent /// /// Imports the playlist from m3u playlist file. /// + /// 3 /// The name of the playlist to save /// The path to import the playlist file /// The imported PlayList object @@ -237,6 +246,7 @@ namespace Tizen.Content.MediaContent /// /// Exports the playlist to m3u playlist file. /// + /// 3 /// The playlist instance to export /// The path to save exported playlist /// path The path to export the playlist @@ -249,6 +259,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the number of the media info for the given playlist present in the media database. /// + /// 3 /// ContentFilter used to match media content from the media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -275,6 +286,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media files associated with the given media playlist and meeting desired filter option. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Storage.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Storage.cs index 26c2317..b6935ef 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Storage.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Storage.cs @@ -46,6 +46,7 @@ namespace Tizen.Content.MediaContent /// /// The storage id of the media storage /// + /// 3 public string Id { get @@ -68,6 +69,7 @@ namespace Tizen.Content.MediaContent /// /// The storage path of the media storage /// + /// 3 public string StoragePath { get @@ -90,6 +92,7 @@ namespace Tizen.Content.MediaContent /// /// The storage name of the media storage /// + /// 3 public string Name { get @@ -112,6 +115,7 @@ namespace Tizen.Content.MediaContent /// /// The storage type of the media storage /// + /// 3 public ContentStorageType StorageType { get @@ -132,6 +136,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the count of media files for the passed filter in the given storage from the media database. /// + /// 3 /// ContentFilter used to match media content from the media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -158,6 +163,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media files associated with the given storage and meeting desired filter option. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Tag.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Tag.cs index 2855a84..181b763 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Tag.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Tag.cs @@ -51,6 +51,7 @@ namespace Tizen.Content.MediaContent /// /// The ID of the media tag /// + /// 3 public int Id { get @@ -65,6 +66,7 @@ namespace Tizen.Content.MediaContent /// /// The name of the tag /// + /// 3 public string Name { get @@ -99,6 +101,7 @@ namespace Tizen.Content.MediaContent /// /// Creates a Tag object which can be inserted to the media database using ContentManager:InsertToDatabaseAsync(ContentCollection) /// + /// 3 /// The name of the media tag public Tag(string tagName) { @@ -108,6 +111,7 @@ namespace Tizen.Content.MediaContent /// /// Adds a new media info to the tag. /// + /// 3 /// The media info which is added public void AddItem(MediaInformation mediaContent) { @@ -118,6 +122,7 @@ namespace Tizen.Content.MediaContent /// /// Removes the media info from the given tag. /// + /// 3 /// The media info which is removed public void RemoveItem(MediaInformation mediaContent) { @@ -128,6 +133,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the number of media files for the passed filter in the given tag from the media database. /// + /// 3 /// ContentFilter used to match media content from the media database. /// The number of media contents matching the filter passed public override int GetMediaInformationCount(ContentFilter filter) @@ -154,6 +160,7 @@ namespace Tizen.Content.MediaContent /// This function gets all media items associated with a given tag and meeting a desired filter. /// If NULL is passed to the filter, no filtering is applied. /// + /// 3 /// ContentFilter used to match media content from the media database. /// List of content media items matching the passed filter public override IEnumerable GetMediaInformations(ContentFilter filter) diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/VideoInformation.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/VideoInformation.cs index 890ed86..da48d28 100755 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/VideoInformation.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/VideoInformation.cs @@ -25,12 +25,14 @@ using System.Collections.ObjectModel; namespace Tizen.Content.MediaContent { /// - /// VideoContent class API gives the information related to the image media stored in the device + /// VideoContent class API gives the information related to the image media stored in the device + /// public class VideoInformation : MediaInformation { /// /// Gets the ID of the media. /// + /// 3 public string MediaId { get @@ -54,6 +56,7 @@ namespace Tizen.Content.MediaContent /// Gets the album name. /// If the media content has no album information, the property returns empty string. /// + /// 3 public string Album { get @@ -77,6 +80,7 @@ namespace Tizen.Content.MediaContent /// Gets the artist name. /// If the media content has no artist information, the property returns empty string. /// + /// 3 public string Artist { get @@ -100,6 +104,7 @@ namespace Tizen.Content.MediaContent /// Gets the album artist name. /// If the media content has no album artist information, the property returns empty string. /// + /// 3 public string AlbumArtist { get @@ -123,6 +128,7 @@ namespace Tizen.Content.MediaContent /// Gets the genre name. /// If the media content has no genre information, the property returns empty string. /// + /// 3 public string Genre { get @@ -146,6 +152,7 @@ namespace Tizen.Content.MediaContent /// Gets the composer name. /// If the media content has no composer information, the property returns empty string. /// + /// 3 public string Composer { get @@ -169,6 +176,7 @@ namespace Tizen.Content.MediaContent /// Gets the year. /// If the media content has no year information, the property returns empty string. /// + /// 3 public string Year { get @@ -191,6 +199,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the recorded date. /// + /// 3 public string RecordedDate { get @@ -214,6 +223,7 @@ namespace Tizen.Content.MediaContent /// Gets the copyright notice. /// If the media content has no copyright information, the property returns empty string. /// + /// 3 public string Copyright { get @@ -237,6 +247,7 @@ namespace Tizen.Content.MediaContent /// Gets the track number. /// If the media content has no track information, the property returns empty string. /// + /// 3 public string TrackNumber { get @@ -259,6 +270,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the bitrate in bit per second [bps]. /// + /// 3 public int BitRate { get @@ -274,6 +286,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the track duration in Milliseconds. /// + /// 3 public int Duration { get @@ -289,6 +302,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the video width in pixels. /// + /// 3 public int Width { get @@ -304,6 +318,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the video height in pixels. /// + /// 3 public int Height { get @@ -319,6 +334,7 @@ namespace Tizen.Content.MediaContent /// /// Gets the number of bookmarks for the passed filter in the given media ID from the media database. /// + /// 3 /// /// int count /// The Filter for matching Bookmarks @@ -335,6 +351,7 @@ namespace Tizen.Content.MediaContent /// /// Iterates through the media bookmark in the given media info from the media database. /// + /// 3 /// /// Task to get all the Bookmarks /// filter for the Tags @@ -359,6 +376,7 @@ namespace Tizen.Content.MediaContent /// /// Adds a bookmark to the video /// + /// 3 /// Offset of the video in seconds /// Thumbnail path for the bookmark /// Task with added MediaBookmark instance @@ -387,6 +405,7 @@ namespace Tizen.Content.MediaContent /// Deletes a bookmark from the media database. /// For other types Unsupported exception is thrown. /// + /// 3 /// The bookmark to be deleted public void DeleteBookmark(MediaBookmark bookmark) {