9ec1c85e0215094e70b9d6b0d2c7a7eccafc0afe
[platform/core/csapi/tizenfx.git] / src / Tizen.Location / Tizen.Location / LocatorEnumerations.cs
1 using System;
2 using System.Collections.Generic;
3
4 namespace Tizen.Location
5 {
6     /// <summary>
7     /// Enumeration for the state of the location service.
8     /// </summary>
9     public enum ServiceState
10     {
11         Disabled = 0, /**<Service is disabled.*/
12         Enabled /**<Service is enabled.*/
13     }
14
15     /// <summary>
16     /// Enumeration for the type of connection used in acquiring Location data.
17     /// </summary>
18     public enum LocationType
19     {
20         None = -1, /**<Undefined method.*/
21         Hybrid, /**<This method selects the best method available at the moment.*/
22         Gps, /**<This method uses Global Positioning System.*/
23         Wps, /**<This method uses WiFi Positioning System.*/
24     }
25
26     /// <summary>
27     /// Enumeration for Approximate accuracy level of given information.
28     /// </summary>
29     public enum LocationAccuracy
30     {
31         None = 0, /**< Invalid Data */
32         Country, /**< Country accuracy level */
33         Region, /**< Regional accuracy level */
34         Locality, /**< Local accuracy level*/
35         PostalCode, /**< Postal accuracy level */
36         Street, /**< Street accuracy level */
37         Detailed /**< Detailed accuracy level*/
38     }
39
40     /// <summary>
41     /// Enumeration for the location service accessibility state.
42     /// </summary>
43     public enum AccessibilityState
44     {
45         None = 0, /**< Access state is not determined */
46         Denied, /**< Access denied */
47         Allowed /**< Access authorized */
48     }
49
50     /// <summary>
51     /// Enumeration for the created boundary type.
52     /// </summary>
53     public enum BoundaryType
54     {
55         Rectangle = 0, /**<Rectangular geographical area type. */
56         Circle, /**<Rectangular geographical area type. */
57         Polygon /**<Rectangular geographical area type. */
58     }
59
60     /// <summary>
61     /// Enumeration for error code for Location manager.
62     /// </summary>
63     public enum BoundaryState
64     {
65         In = 0, /**< Boundary In (Zone In) */
66         Out /**< Boundary Out (Zone Out) */
67     }
68 }