Release 4.0.0-preview1-00184
[platform/core/csapi/tizenfx.git] / Artifacts / bin / public / Tizen.Applications.WatchApplication.xml
1 <?xml version="1.0"?>
2 <doc>
3     <assembly>
4         <name>Tizen.Applications.WatchApplication</name>
5     </assembly>
6     <members>
7         <member name="T:Tizen.Applications.CoreBackend.WatchEventType">
8             <summary>
9             Class that represents the type of event for backends. This class can be converted from string type.
10             </summary>
11         </member>
12         <member name="F:Tizen.Applications.CoreBackend.WatchEventType.TimeTick">
13             <summary>
14             Pre-defined event type. "Created"
15             </summary>
16         </member>
17         <member name="F:Tizen.Applications.CoreBackend.WatchEventType.AmbientTick">
18             <summary>
19             Pre-defined event type. "AmbientTick"
20             </summary>
21         </member>
22         <member name="F:Tizen.Applications.CoreBackend.WatchEventType.AmbientChanged">
23             <summary>
24             Pre-defined event type. "AmbientChanged"
25             </summary>
26         </member>
27         <member name="M:Tizen.Applications.CoreBackend.WatchEventType.#ctor(System.String)">
28             <summary>
29             Initializes the WatchEventType class.
30             </summary>
31             <param name="name">The name of watch event type.</param>
32         </member>
33         <member name="M:Tizen.Applications.CoreBackend.WatchEventType.op_Implicit(System.String)~Tizen.Applications.CoreBackend.WatchEventType">
34             <summary>
35             Converts a string to WatchEventType instance.
36             </summary>
37         </member>
38         <member name="T:Tizen.Applications.AmbientEventArgs">
39             <summary>
40             Arguments for the event that reaised when the device enters or exits the ambient mode.
41             </summary>
42         </member>
43         <member name="P:Tizen.Applications.AmbientEventArgs.Enabled">
44             <summary>
45             The received Ambient mode
46             </summary>
47         </member>
48         <member name="T:Tizen.Applications.AmbientTickType">
49             <summary>
50             Enumeration for Ambient tick type.
51             </summary>
52         </member>
53         <member name="F:Tizen.Applications.AmbientTickType.NoTick">
54             <summary>
55             No peridoic ambient tick.
56             </summary>
57         </member>
58         <member name="F:Tizen.Applications.AmbientTickType.EveryMinute">
59             <summary>
60             Every minute.
61             </summary>
62         </member>
63         <member name="F:Tizen.Applications.AmbientTickType.EveryFiveMinutes">
64             <summary>
65             Every 5 minutes.
66             </summary>
67         </member>
68         <member name="F:Tizen.Applications.AmbientTickType.EveryFiftenMinutes">
69             <summary>
70             Every 15 minutes.
71             </summary>
72         </member>
73         <member name="F:Tizen.Applications.AmbientTickType.EveryThirtyMinutes">
74             <summary>
75             Every 30 minutes.
76             </summary>
77         </member>
78         <member name="F:Tizen.Applications.AmbientTickType.EveryHour">
79             <summary>
80             Every hour.
81             </summary>
82         </member>
83         <member name="F:Tizen.Applications.AmbientTickType.EveryThreeHours">
84             <summary>
85             Every 3 hours.
86             </summary>
87         </member>
88         <member name="F:Tizen.Applications.AmbientTickType.EverySixHours">
89             <summary>
90             Every 6 hours.
91             </summary>
92         </member>
93         <member name="F:Tizen.Applications.AmbientTickType.EveryTwelveHours">
94             <summary>
95             Every 12 hours.
96             </summary>
97         </member>
98         <member name="F:Tizen.Applications.AmbientTickType.EveryDay">
99             <summary>
100             Every day.
101             </summary>
102         </member>
103         <member name="T:Tizen.Applications.TimeEventArgs">
104             <summary>
105             Arguments for the event that reaised when the time tick comes.
106             </summary>
107         </member>
108         <member name="P:Tizen.Applications.TimeEventArgs.Time">
109             <summary>
110             The received WatchTime.
111             </summary>
112         </member>
113         <member name="T:Tizen.Applications.TimeTickResolution">
114             <summary>
115             Enumeration for Time tick resolution.
116             </summary>
117         </member>
118         <member name="F:Tizen.Applications.TimeTickResolution.TimeTicksPerSecond">
119             <summary>
120             1 ~ 60 ticks per second.
121             </summary>
122         </member>
123         <member name="F:Tizen.Applications.TimeTickResolution.TimeTicksPerMinute">
124             <summary>
125             1 ~ 60 ticks per minute.
126             </summary>
127         </member>
128         <member name="F:Tizen.Applications.TimeTickResolution.TimeTicksPerHour">
129             <summary>
130             1 ~ 60 ticks per hour.
131             </summary>
132         </member>
133         <member name="T:Tizen.Applications.WatchApplication">
134             <summary>
135             The class that represents a Tizen watch application.
136             </summary>
137         </member>
138         <member name="M:Tizen.Applications.WatchApplication.#ctor">
139             <summary>
140             Initialize the WatchApplication class
141             </summary>
142             <remarks>
143             Default backend for Watch application will be used.
144             </remarks>
145         </member>
146         <member name="M:Tizen.Applications.WatchApplication.#ctor(Tizen.Applications.CoreBackend.ICoreBackend)">
147             <summary>
148             Initialize the WatchApplication class
149             </summary>
150             <remarks>
151             If want to change the backend , use this constructor
152             </remarks>
153             <param name="backend">The backend instance implementing ICoreBackend interface.</param>
154         </member>
155         <member name="F:Tizen.Applications.WatchApplication.Window">
156             <summary>
157             Instance for the window
158             </summary>
159         </member>
160         <member name="E:Tizen.Applications.WatchApplication.Resumed">
161             <summary>
162             Occurs whenever the application is resumed.
163             </summary>
164         </member>
165         <member name="E:Tizen.Applications.WatchApplication.Paused">
166             <summary>
167             Occurs whenever the application is paused.
168             </summary>
169         </member>
170         <member name="E:Tizen.Applications.WatchApplication.TimeTick">
171             <summary>
172             Occurs whenever the time tick comes.
173             </summary>
174         </member>
175         <member name="E:Tizen.Applications.WatchApplication.AmbientTick">
176             <summary>
177             Occurs whenever the time tick comes in ambient mode.
178             </summary>
179         </member>
180         <member name="E:Tizen.Applications.WatchApplication.AmbientChanged">
181             <summary>
182             Occurs when the ambient mode is changed.
183             </summary>
184         </member>
185         <member name="M:Tizen.Applications.WatchApplication.Run(System.String[])">
186             <summary>
187             Runs the UI applications' main loop.
188             </summary>
189             <param name="args">Arguments from commandline.</param>
190         </member>
191         <member name="M:Tizen.Applications.WatchApplication.OnCreate">
192             <summary>
193             Overrides this method if want to handle behavior when the application is launched.
194             If base.OnCreate() is not called, the event 'Created' will not be emitted.
195             </summary>
196         </member>
197         <member name="M:Tizen.Applications.WatchApplication.OnResume">
198             <summary>
199             Overrides this method if want to handle behavior when the application is resumed.
200             If base.OnResume() is not called, the event 'Resumed' will not be emitted.
201             </summary>
202         </member>
203         <member name="M:Tizen.Applications.WatchApplication.OnPause">
204             <summary>
205             Overrides this method if want to handle behavior when the application is paused.
206             If base.OnPause() is not called, the event 'Paused' will not be emitted.
207             </summary>
208         </member>
209         <member name="M:Tizen.Applications.WatchApplication.OnTick(Tizen.Applications.TimeEventArgs)">
210             <summary>
211             Overrides this method if want to handle behavior when the time tick event comes.
212             If base.OnTick() is not called, the event 'TimeTick' will not be emitted.
213             </summary>
214             <param name="time">The received TimeEventArgs to get time information.</param>
215         </member>
216         <member name="M:Tizen.Applications.WatchApplication.OnAmbientTick(Tizen.Applications.TimeEventArgs)">
217             <summary>
218             Overrides this method if want to handle behavior when the time tick event comes in ambient mode.
219             If base.OnAmbientTick() is not called, the event 'AmbientTick' will not be emitted.
220             </summary>
221             <param name="time">The received TimeEventArgs to get time information.</param>
222             <privilege>http://tizen.org/privilege/alarm.set</privilege>
223         </member>
224         <member name="M:Tizen.Applications.WatchApplication.OnAmbientChanged(Tizen.Applications.AmbientEventArgs)">
225             <summary>
226             Overrides this method if want to handle behavior when the ambient mode is changed.
227             If base.OnAmbientChanged() is not called, the event 'AmbientChanged' will not be emitted.
228             </summary>
229             <param name="mode">The received AmbientEventArgs</param>
230         </member>
231         <member name="M:Tizen.Applications.WatchApplication.GetCurrentTime">
232             <summary>
233             Gets the current time
234             </summary>
235             <returns>WatchTime</returns>
236             <exception cref="T:System.InvalidOperationException">Thrown when failed to get current time because of invalid parameter.</exception>
237             <exception cref="T:System.OutOfMemoryException">Thrown when failed to get current time because memory is not enough.</exception>
238             <example>
239             <code>
240             class MyApp : WatchApplication
241             {
242                 ...
243                 public void TestMethod()
244                 {
245                     WatchTime wt;
246                     try
247                     {
248                         wt = GetCurrentTime();
249                     }
250                     catch
251                     {
252                     }
253                 }
254             }
255             </code>
256             </example>
257         </member>
258         <member name="M:Tizen.Applications.WatchApplication.GetAmbientTickType">
259             <summary>
260             Gets the type of periodic ambient tick.
261             </summary>
262             <returns>AmbientTickType</returns>
263             <exception cref="T:System.InvalidOperationException">Thrown when failed to get ambient tick type.</exception>
264             <example>
265             <code>
266             class MyApp : WatchApplication
267             {
268                 ...
269                 public void TestMethod()
270                 {
271                     AmbientTickType atType;
272                     try
273                     {
274                         atType = GetAmbientTickType();
275                     }
276                     catch
277                     {
278                     }
279                 }
280             }
281             </code>
282             </example>
283         </member>
284         <member name="M:Tizen.Applications.WatchApplication.SetAmbientTickType(Tizen.Applications.AmbientTickType)">
285             <summary>
286             Sets the type of periodic ambient tick.
287             OnAmbientTick will be called following settings.
288             If SetAmbientTickType is not called, OnAmbientTick will be called every minute.
289             </summary>
290             <param name="ambientTickType">the type of ambient tick</param>
291             <exception cref="T:System.InvalidOperationException">Thrown when failed to set ambient tick type.</exception>
292             <example>
293             <code>
294             class MyApp : WatchApplication
295             {
296                 ...
297                 public void TestMethod()
298                 {
299                     try
300                     {
301                         SetAmbientTickType(AmbientTickType.EveryMinute);
302                     }
303                     catch
304                     {
305                     }
306                 }
307             }
308             </code>
309             </example>
310         </member>
311         <member name="M:Tizen.Applications.WatchApplication.SetTimeTickFrequency(System.Int32,Tizen.Applications.TimeTickResolution)">
312             <summary>
313             Sets the frequency of time tick.
314             OnTick will be called following settings.
315             If SetTimeTickFrequency is not called, OnTick will be called every second.
316             </summary>
317             <param name="ticks">Ticks the number of ticks per given resolution type</param>
318             <param name="type">Type of the resolution type</param>
319             <exception cref="T:System.InvalidOperationException">Thrown when failed to set time tick frequency.</exception>
320             <example>
321             <code>
322             class MyApp : WatchApplication
323             {
324                 ...
325                 public void TestMethod()
326                 {
327                     try
328                     {
329                         SetTimeTickFrequency(1, TimeTickResolution.TimeTicksPerMinute);
330                     }
331                     catch
332                     {
333                     }
334                 }
335             }
336             </code>
337             </example>
338         </member>
339         <member name="M:Tizen.Applications.WatchApplication.GetTimeTickFrequency(System.Int32@,Tizen.Applications.TimeTickResolution@)">
340             <summary>
341             Gets the frequency fo time tick.
342             </summary>
343             <param name="ticks">Ticks the number of ticks per given resolution type</param>
344             <param name="type">Type of the resolution type</param>
345             <exception cref="T:System.InvalidOperationException">Thrown when failed to get time tick frequency.</exception>
346             <example>
347             <code>
348             class MyApp : WatchApplication
349             {
350                 ...
351                 public void TestMethod()
352                 {
353                     int tick;
354                     TimeTickResolution tType;
355                     try
356                     {
357                         GetTimeTickFrequency(out tick, out tType);
358                     }
359                     catch
360                     {
361                     }
362                 }
363             }
364             </code>
365             </example>
366         </member>
367         <member name="T:Tizen.Applications.WatchTime">
368             <summary>
369             The information of Watch Time
370             </summary>
371         </member>
372         <member name="P:Tizen.Applications.WatchTime.Year">
373             <summary>
374             The information of year
375             </summary>
376         </member>
377         <member name="P:Tizen.Applications.WatchTime.Month">
378             <summary>
379             The information fo month
380             </summary>
381         </member>
382         <member name="P:Tizen.Applications.WatchTime.Day">
383             <summary>
384             The information of day
385             </summary>
386         </member>
387         <member name="P:Tizen.Applications.WatchTime.DayOfWeek">
388             <summary>
389             The information of day of week
390             </summary>
391         </member>
392         <member name="P:Tizen.Applications.WatchTime.Hour">
393             <summary>
394             The information of hour
395             </summary>
396         </member>
397         <member name="P:Tizen.Applications.WatchTime.Hour24">
398             <summary>
399             The information of hour for 24 hour form
400             </summary>
401         </member>
402         <member name="P:Tizen.Applications.WatchTime.Minute">
403             <summary>
404             The information of Minute
405             </summary>
406         </member>
407         <member name="P:Tizen.Applications.WatchTime.Second">
408             <summary>
409             The information of second
410             </summary>
411         </member>
412         <member name="P:Tizen.Applications.WatchTime.Millisecond">
413             <summary>
414             The information of millisecond
415             </summary>
416         </member>
417         <member name="P:Tizen.Applications.WatchTime.TimeZone">
418             <summary>
419             The information of timezone
420             </summary>
421         </member>
422         <member name="P:Tizen.Applications.WatchTime.UtcTimestamp">
423             <summary>
424             The information of UTC time stamp
425             </summary>
426         </member>
427     </members>
428 </doc>