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.
19 namespace Tizen.Location.Geofence
22 /// Event arguments passed when Event is triggered to notify proximity state change.
24 /// <since_tizen>3</since_tizen>
25 public class ProximityStateEventArgs : EventArgs
28 /// Internal constructor.
30 /// <since_tizen>3</since_tizen>
31 /// <param name="id">The geofence id.</param>
32 /// <param name="state">The proximity state.</param>
33 /// <param name="provider">The proximity provider.</param>
34 internal ProximityStateEventArgs(int id, ProximityState state, ProximityProvider provider)
44 /// <since_tizen>3</since_tizen>
51 /// The proximity state.
53 /// <since_tizen>3</since_tizen>
54 public ProximityState State
60 /// The proximity provider.
62 /// <since_tizen>3</since_tizen>
63 public ProximityProvider Provider
70 /// Event arguments passed when Event is triggered to notify Geofence state change.
72 /// <since_tizen>3</since_tizen>
73 public class GeofenceStateEventArgs : EventArgs
76 /// Internal constructor.
78 /// <since_tizen>3</since_tizen>
79 /// <param name="fenceId">The specified geofence id.</param>
80 /// <param name="state">The geofence state.</param>
81 internal GeofenceStateEventArgs(int fenceId, GeofenceState state)
88 /// The specified geofence id.
90 /// <since_tizen>3</since_tizen>
97 /// The geofence state.
99 /// <since_tizen>3</since_tizen>
100 public GeofenceState State
107 /// Event arguments passed when Event occurs in geofence and place such as add, update, etc..
109 /// <since_tizen>3</since_tizen>
110 public class GeofenceResponseEventArgs : EventArgs
113 /// Internal constructor.
115 /// <since_tizen>3</since_tizen>
116 /// <param name="placeId">The place id.</param>
117 /// <param name="fenceId">The specified geofence id.</param>
118 /// <param name="error">The error code for the particular action.</param>
119 /// <param name="eventType">The result code for the particular place and geofence management.</param>
120 internal GeofenceResponseEventArgs(int placeId, int fenceId, GeofenceError error, GeofenceEventType eventType)
125 EventType = eventType;
131 /// <since_tizen>3</since_tizen>
138 /// The specified geofence id.
140 /// <since_tizen>3</since_tizen>
147 /// The error code for the particular action.
149 /// <since_tizen>3</since_tizen>
150 public GeofenceError ErrorCode
156 /// The result code for the particular place and geofence management.
158 /// <since_tizen>3</since_tizen>
159 public GeofenceEventType EventType