2 * Copyright (c) 2014 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.
17 #ifndef __MAPS_ROUTE_SEGMENT_PRIVATE_H__
18 #define __MAPS_ROUTE_SEGMENT_PRIVATE_H__
20 #include <maps_service.h>
21 #include <maps_extra_types.h>
24 * @ingroup CAPI_MAPS_ROUTE_MODULE
25 * @defgroup CAPI_MAPS_ROUTE_SEGMENT_MODULE Segment
27 * @file maps_route_segment_private.h
28 * @brief This file contains the functions related to Route Segment information.
29 * @addtogroup CAPI_MAPS_ROUTE_SEGMENT_MODULE
31 * @brief This provides APIs related to Place Segment information, used in Route
40 * @deprecated Deprecated since 8.0.
42 * @brief Checks if a segment data feature is supported.
43 * @details This function checks if a segment data feature is supported.
44 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
46 * @param[in] segment The handle to segment
47 * @param[in] data The feature to be checked
48 * @param[out] supported Is the feature supported
49 * @return 0 on success, otherwise a negative error value
50 * @retval #MAPS_ERROR_NONE Successful
51 * @retval #MAPS_ERROR_INVALID_PARAMETER Invalid parameter
53 * @pre @a segment is created using maps_route_segment_create().
55 * @see maps_route_segment_create()
57 int _maps_route_segment_is_data_supported(const maps_route_segment_h segment,
58 maps_service_data_e data,
59 bool *supported) TIZEN_DEPRECATED_API;
62 * @deprecated Deprecated since 8.0.
64 * @brief Sets the supported segment data features.
65 * @details This function sets the supported segment data features.
66 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
68 * @param[in] segment The handle to segment
69 * @param[in] supported_data The supported segment data features
70 * @return 0 on success, otherwise a negative error value
71 * @retval #MAPS_ERROR_NONE Successful
72 * @retval #MAPS_ERROR_INVALID_PARAMETER Invalid parameter
74 * @pre @a segment is created using maps_route_segment_create().
76 * @see maps_route_segment_create()
78 int _maps_route_segment_set_supported_data(maps_route_segment_h segment,
79 const maps_int_hashtable_h supported_data) TIZEN_DEPRECATED_API;
87 #endif /* __MAPS_ROUTE_SEGMENT_PRIVATE_H__ */