2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FLoc_ILocationManagerListener.h
20 * @brief This is the header file for the %_ILocationManagerListener interface.
22 * This header file contains the declarations of the %_ILocationManagerListener interface. @n
25 #ifndef _FLOC_ILOCATION_MANAGER_LISTENER_H_
26 #define _FLOC_ILOCATION_MANAGER_LISTENER_H_
28 #include <FBaseRtIEventListener.h>
30 namespace Tizen { namespace Locations
36 * @interface _ILocationManagerListener
37 * @brief This interface provides a listener that receives location update callback.
42 class _ILocationManagerListener
43 : virtual public Tizen::Base::Runtime::IEventListener
47 * This is the destructor for this class.
51 virtual ~_ILocationManagerListener(void) {}
54 * Called periodically based on the interval defined when location is requested to the location manager. @n
58 * @param[in] location The received %Location
60 virtual void OnLocationUpdated(RequestId reqId, const Tizen::Locations::Location& location) = 0;
62 }; //_ILocationManagerListener
64 }} // Tizen::Locations
66 #endif // _FLOC_ILOCATION_MANAGER_LISTENER_H_