2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 using System.Collections.Generic;
20 namespace Tizen.Location
23 /// Enumeration for the state of the location service.
25 /// <since_tizen> 3 </since_tizen>
26 public enum ServiceState
28 Disabled = 0, /**<Service is disabled.*/
29 Enabled /**<Service is enabled.*/
33 /// Enumeration for the type of connection used in acquiring the location data.
35 /// <since_tizen> 3 </since_tizen>
36 public enum LocationType
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.*/
45 /// Enumeration for the created boundary type.
47 /// <since_tizen> 3 </since_tizen>
48 public enum BoundaryType
50 Rectangle = 0, /**<Rectangular geographical area type. */
51 Circle, /**<Rectangular geographical area type. */
52 Polygon /**<Rectangular geographical area type. */
56 /// Enumeration for the error code for location manager.
58 /// <since_tizen> 3 </since_tizen>
59 public enum BoundaryState
61 In = 0, /**< Boundary In (Zone In) */
62 Out /**< Boundary Out (Zone Out) */