[Context] Add related feature & Add Context dll to wearable 32/148032/6
authorSomin Kim <somin926.kim@samsung.com>
Wed, 6 Sep 2017 10:14:25 +0000 (19:14 +0900)
committerSomin Kim <somin926.kim@samsung.com>
Thu, 14 Sep 2017 11:17:19 +0000 (11:17 +0000)
Change-Id: I9c9cfc57ed4ff414c35a31a9c68e992cdbdaf6ed
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
pkg/PlatformFileList.txt
src/Tizen.Context/Tizen.Context.AppHistory/BatteryStatistics.cs
src/Tizen.Context/Tizen.Context.AppHistory/UsageStatistics.cs

index 5026b09..0b4ab6c 100644 (file)
@@ -28,7 +28,7 @@ Tizen.Applications.WidgetControl.dll               #mobile #mobile-emul #tv #ivi
 Tizen.Content.Download.dll                         #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Content.MediaContent.dll                     #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Content.MimeType.dll                         #common #mobile #mobile-emul #tv #ivi #wearable
-Tizen.Context.dll                                  #mobile #mobile-emul
+Tizen.Context.dll                                  #mobile #mobile-emul #wearable
 Tizen.Convergence.dll                              #common #mobile #mobile-emul #ivi #wearable
 Tizen.dll                                          #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Location.dll                                 #mobile #mobile-emul #tv #ivi #wearable
index f820525..7f62590 100644 (file)
@@ -29,9 +29,10 @@ namespace Tizen.Context.AppHistory
         /// <summary>
         ///  The default constructor of BatteryStatistics class.
         /// </summary>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <feature>http://tizen.org/feature/battery</feature>
         /// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
-        /// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
         public BatteryStatistics()
         {
             SortOrder = SortOrderType.ConsumptionMost;
@@ -54,10 +55,11 @@ namespace Tizen.Context.AppHistory
         /// The constructor of BatteryStatistics class.
         /// </summary>
         /// <param name="order">The criteria of the battery statistics sorted by.</param>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <feature>http://tizen.org/feature/battery</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
-        /// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
         public BatteryStatistics(SortOrderType order)
         {
             SortOrder = order;
@@ -88,8 +90,11 @@ namespace Tizen.Context.AppHistory
         /// <param name="endTime">The end time of the data to be aggregated.</param>
         /// <returns>Battery statistics data retrieved.</returns>
         /// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+        /// <feature>http://tizen.org/feature/app_history</feature>
+        /// <feature>http://tizen.org/feature/battery</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
         public IReadOnlyList<BatteryStatisticsData> Query(DateTime startTime, DateTime endTime)
         {
@@ -106,8 +111,11 @@ namespace Tizen.Context.AppHistory
         /// <param name="resultSize">The number of data records to be retrieved.</param>
         /// <returns>Battery statistics data retrieved.</returns>
         /// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+        /// <feature>http://tizen.org/feature/app_history</feature>
+        /// <feature>http://tizen.org/feature/battery</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
         public IReadOnlyList<BatteryStatisticsData> Query(DateTime startTime, DateTime endTime, uint resultSize)
         {
@@ -146,6 +154,7 @@ namespace Tizen.Context.AppHistory
         /// Gets the last time when the device was fully charged.
         /// </summary>
         /// <returns>The last time when the device was fully charged.</returns>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <feature>http://tizen.org/feature/battery</feature>
         /// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
         public static DateTime GetLastFullyChargedTime()
index a23d820..9a96f29 100644 (file)
@@ -31,7 +31,9 @@ namespace Tizen.Context.AppHistory
         /// <summary>
         /// The default constructor of UsageStatistics class.
         /// </summary>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
         public UsageStatistics()
         {
             SortOrder = SortOrderType.LastLaunchTimeNewest;
@@ -54,8 +56,10 @@ namespace Tizen.Context.AppHistory
         /// The constructor of UsageStatistics class.
         /// </summary>
         /// <param name="order">The criteria of the usage statistics sorted by.</param>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
         public UsageStatistics(SortOrderType order)
         {
             SortOrder = order;
@@ -86,8 +90,10 @@ namespace Tizen.Context.AppHistory
         /// <param name="endTime">The end time of the data to be aggregated.</param>
         /// <returns>Usage statistics data retrieved.</returns>
         /// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
         public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime)
         {
@@ -104,8 +110,10 @@ namespace Tizen.Context.AppHistory
         /// <param name="resultSize">The number of data records to be retrieved.</param>
         /// <returns>Usage statistics data retrieved.</returns>
         /// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+        /// <feature>http://tizen.org/feature/app_history</feature>
         /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
         /// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
         public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime, uint resultSize)
         {