[ACR-746] Passive Location
[platform/core/api/location-manager.git] / include / locations.h
index 81c8c9a..952e27f 100755 (executable)
@@ -60,6 +60,7 @@ typedef enum {
        LOCATIONS_METHOD_HYBRID,        /**< This method selects the best method available at the moment */
        LOCATIONS_METHOD_GPS,           /**< This method uses Global Positioning System */
        LOCATIONS_METHOD_WPS,           /**< This method uses WiFi Positioning System */
+       LOCATIONS_METHOD_PASSIVE,       /**< This method can be used to passively receive location updates without power consumption (Since 3.0)*/
 } location_method_e;
 
 /**
@@ -345,6 +346,7 @@ int location_manager_destroy(location_manager_h manager);
  * @param[in] user_data                The user data to be passed to the callback function
  * @retval #LOCATIONS_ERROR_NONE                                               Successful
  * @retval #LOCATIONS_ERROR_INVALID_PARAMETER                  Invalid parameter
+ * @retval #LOCATIONS_ERROR_INCORRECT_METHOD                   Incorrect method
  * @retval #LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE              Service not available
  * @retval #LOCATIONS_ERROR_NETWORK_FAILED                             Network failed
  * @retval #LOCATIONS_ERROR_GPS_SETTING_OFF                            GPS is not enabled