Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.Location / Tizen.Location / LocatorEnumerations.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18 using System.Collections.Generic;
19
20 namespace Tizen.Location
21 {
22     /// <summary>
23     /// Enumeration for the state of the location service.
24     /// </summary>
25     /// <since_tizen>3</since_tizen>
26     public enum ServiceState
27     {
28         Disabled = 0, /**<Service is disabled.*/
29         Enabled /**<Service is enabled.*/
30     }
31
32     /// <summary>
33     /// Enumeration for the type of connection used in acquiring Location data.
34     /// </summary>
35     /// <since_tizen>3</since_tizen>
36     public enum LocationType
37     {
38         Hybrid = 0, /**<This method selects the best method available at the moment.*/
39         Gps, /**<This method uses Global Positioning System.*/
40         Wps, /**<This method uses WiFi Positioning System.*/
41         Passive, /**<This method uses passive mode.*/
42     }
43
44     /// <summary>
45     /// Enumeration for the created boundary type.
46     /// </summary>
47     /// <since_tizen>3</since_tizen>
48     public enum BoundaryType
49     {
50         Rectangle = 0, /**<Rectangular geographical area type. */
51         Circle, /**<Rectangular geographical area type. */
52         Polygon /**<Rectangular geographical area type. */
53     }
54
55     /// <summary>
56     /// Enumeration for error code for Location manager.
57     /// </summary>
58     /// <since_tizen>3</since_tizen>
59     public enum BoundaryState
60     {
61         In = 0, /**< Boundary In (Zone In) */
62         Out /**< Boundary Out (Zone Out) */
63     }
64 }