1 <?xml version="1.0"?>
\r
4 <name>Tizen.Context</name>
\r
7 <member name="T:Tizen.Context.AppHistory.AppStatistics">
\r
9 Base class for application statistics.
\r
12 <member name="T:Tizen.Context.AppHistory.AppStatisticsData">
\r
14 Base class which contains application statistics query result.
\r
17 <member name="P:Tizen.Context.AppHistory.AppStatisticsData.AppId">
\r
19 Gets the application id.
\r
21 <value>The application id.</value>
\r
23 <member name="T:Tizen.Context.AppHistory.BatteryStatistics">
\r
25 This class provides APIs to query battery consumption per application.
\r
28 <member name="M:Tizen.Context.AppHistory.BatteryStatistics.#ctor">
\r
30 The default constructor of BatteryStatistics class.
\r
32 <feature>http://tizen.org/feature/battery</feature>
\r
33 <exception cref="T:System.InvalidOperationException">Thrown when method fail due to internal error.</exception>
\r
34 <exception cref="T:System.NotSupportedException">Thrown when the statistics is not supported.</exception>
\r
36 <member name="M:Tizen.Context.AppHistory.BatteryStatistics.#ctor(Tizen.Context.AppHistory.BatteryStatistics.SortOrderType)">
\r
38 The constructor of BatteryStatistics class.
\r
40 <param name="order">The criteria of the battery statistics sorted by.</param>
\r
41 <feature>http://tizen.org/feature/battery</feature>
\r
42 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
43 <exception cref="T:System.InvalidOperationException">Thrown when method fail due to internal error.</exception>
\r
44 <exception cref="T:System.NotSupportedException">Thrown when the statistics is not supported.</exception>
\r
46 <member name="M:Tizen.Context.AppHistory.BatteryStatistics.Query(System.DateTime,System.DateTime)">
\r
48 Retrieves a given type of battery statistics.
\r
50 <param name="startTime">The start time of the data to be aggregated.</param>
\r
51 <param name="endTime">The end time of the data to be aggregated.</param>
\r
52 <returns>Battery statistics data retrieved.</returns>
\r
53 <privilege>http://tizen.org/privilege/apphistory.read</privilege>
\r
54 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
55 <exception cref="T:System.InvalidOperationException">Thrown when invalid operation occurs.</exception>
\r
56 <exception cref="T:System.UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
\r
58 <member name="M:Tizen.Context.AppHistory.BatteryStatistics.Query(System.DateTime,System.DateTime,System.UInt32)">
\r
60 Retrieves a given type of battery statistics.
\r
62 <param name="startTime">The start time of the data to be aggregated.</param>
\r
63 <param name="endTime">The end time of the data to be aggregated.</param>
\r
64 <param name="resultSize">The number of data records to be retrieved.</param>
\r
65 <returns>Battery statistics data retrieved.</returns>
\r
66 <privilege>http://tizen.org/privilege/apphistory.read</privilege>
\r
67 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
68 <exception cref="T:System.InvalidOperationException">Thrown when invalid operation occurs.</exception>
\r
69 <exception cref="T:System.UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
\r
71 <member name="M:Tizen.Context.AppHistory.BatteryStatistics.GetLastFullyChargedTime">
\r
73 Gets the last time when the device was fully charged.
\r
75 <returns>The last time when the device was fully charged.</returns>
\r
76 <feature>http://tizen.org/feature/battery</feature>
\r
77 <exception cref="T:System.NotSupportedException">Thrown when the statistics is not supported.</exception>
\r
79 <member name="P:Tizen.Context.AppHistory.BatteryStatistics.SortOrder">
\r
81 Gets the criteria of battery statistics sorted by.
\r
83 <value>The criteria of battery statistics sorted by.</value>
\r
85 <member name="T:Tizen.Context.AppHistory.BatteryStatistics.SortOrderType">
\r
87 Sort order type of battery statistics.
\r
90 <member name="F:Tizen.Context.AppHistory.BatteryStatistics.SortOrderType.ConsumptionMost">
\r
92 Sorts apps by consumption, the most battery consuming apps appear first. (Default)
\r
95 <member name="T:Tizen.Context.AppHistory.BatteryStatisticsData">
\r
97 The class contains battery statistics information retrieved by BatteryStatistics.
\r
100 <member name="P:Tizen.Context.AppHistory.BatteryStatisticsData.Consumption">
\r
102 Gets how many percentage of battery capacity was used by the application.
\r
104 <value>Battery consumption used by the application.</value>
\r
106 <member name="T:Tizen.Context.AppHistory.UsageStatistics">
\r
108 This class provides APIs to query application launch history.
\r
111 <member name="M:Tizen.Context.AppHistory.UsageStatistics.#ctor">
\r
113 The default constructor of UsageStatistics class.
\r
115 <exception cref="T:System.InvalidOperationException">Thrown when method fail due to internal error.</exception>
\r
117 <member name="M:Tizen.Context.AppHistory.UsageStatistics.#ctor(Tizen.Context.AppHistory.UsageStatistics.SortOrderType)">
\r
119 The constructor of UsageStatistics class.
\r
121 <param name="order">The criteria of the usage statistics sorted by.</param>
\r
122 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
123 <exception cref="T:System.InvalidOperationException">Thrown when method fail due to internal error.</exception>
\r
125 <member name="M:Tizen.Context.AppHistory.UsageStatistics.Query(System.DateTime,System.DateTime)">
\r
127 Retrieves a given type of usage statistics.
\r
129 <param name="startTime">The start time of the data to be aggregated.</param>
\r
130 <param name="endTime">The end time of the data to be aggregated.</param>
\r
131 <returns>Usage statistics data retrieved.</returns>
\r
132 <privilege>http://tizen.org/privilege/apphistory.read</privilege>
\r
133 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
134 <exception cref="T:System.InvalidOperationException">Thrown when invalid operation occurs.</exception>
\r
135 <exception cref="T:System.UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
\r
137 <member name="M:Tizen.Context.AppHistory.UsageStatistics.Query(System.DateTime,System.DateTime,System.UInt32)">
\r
139 Retrieves a given type of usage statistics.
\r
141 <param name="startTime">The start time of the data to be aggregated.</param>
\r
142 <param name="endTime">The end time of the data to be aggregated.</param>
\r
143 <param name="resultSize">The number of data records to be retrieved.</param>
\r
144 <returns>Usage statistics data retrieved.</returns>
\r
145 <privilege>http://tizen.org/privilege/apphistory.read</privilege>
\r
146 <exception cref="T:System.ArgumentException">Thrown when an invalid argument is used.</exception>
\r
147 <exception cref="T:System.InvalidOperationException">Thrown when invalid operation occurs.</exception>
\r
148 <exception cref="T:System.UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
\r
150 <member name="P:Tizen.Context.AppHistory.UsageStatistics.SortOrder">
\r
152 Gets the criteria of usage statistics sorted by.
\r
154 <value>The criteria of usage statistics sorted by.</value>
\r
156 <member name="T:Tizen.Context.AppHistory.UsageStatistics.SortOrderType">
\r
158 Sort order type of usage statistics
\r
161 <member name="F:Tizen.Context.AppHistory.UsageStatistics.SortOrderType.LastLaunchTimeNewest">
\r
163 Sorts apps by the last launch time, the most recently launched apps appear first. (Default)
\r
166 <member name="F:Tizen.Context.AppHistory.UsageStatistics.SortOrderType.LaunchCountMost">
\r
168 Sorts apps by the launch count of being launched, the most frequently launched apps appear first.
\r
171 <member name="T:Tizen.Context.AppHistory.UsageStatisticsData">
\r
173 The class contains application usage statistics information retrieved by UsageStatistics.
\r
176 <member name="P:Tizen.Context.AppHistory.UsageStatisticsData.Duration">
\r
178 Gets the time which the application is being displayed in the foreground in seconds.
\r
180 <value>Duration which the application is used in the foreground in seconds.</value>
\r
182 <member name="P:Tizen.Context.AppHistory.UsageStatisticsData.LaunchCount">
\r
184 Gets how many times the application is used in the foreground.
\r
186 <value>How many times the application is used in the foreground.</value>
\r
188 <member name="P:Tizen.Context.AppHistory.UsageStatisticsData.LastLaunchTime">
\r
190 Gets the last time when the application has been used.
\r
192 <value>The last time when the application has been used.</value>
\r