Tizen Native API
5.5
|
This provides APIs related to Place Maneuver information, used in Route Search.
Functions | |
int | maps_route_maneuver_destroy (maps_route_maneuver_h maneuver) |
Destroys the route Maneuver handle and releases all its resources. | |
int | maps_route_maneuver_clone (const maps_route_maneuver_h origin, maps_route_maneuver_h *cloned) |
Clones the route Maneuver handle. | |
int | maps_route_maneuver_get_direction_id (const maps_route_maneuver_h maneuver, maps_route_direction_e *direction_id) |
Gets the route Maneuver direction ID. | |
int | maps_route_maneuver_get_turn_type (const maps_route_maneuver_h maneuver, maps_route_turn_type_e *turn_type) |
Gets the route Maneuver turn type. | |
int | maps_route_maneuver_get_position (const maps_route_maneuver_h maneuver, maps_coordinates_h *position) |
Gets the route Maneuver position. | |
int | maps_route_maneuver_get_road_name (const maps_route_maneuver_h maneuver, char **road_name) |
Gets the road name of the route Maneuver. | |
int | maps_route_maneuver_get_instruction_text (const maps_route_maneuver_h maneuver, char **instruction_text) |
Gets the instruction text (narrative) of the route Maneuver. | |
int | maps_route_maneuver_get_locale (const maps_route_maneuver_h maneuver, char **locale) |
Gets the route Maneuver locale. | |
int | maps_route_maneuver_get_time_to_next_instruction (const maps_route_maneuver_h maneuver, int *time_to_next_instruction) |
Gets the time to next instruction of the route Maneuver. | |
int | maps_route_maneuver_get_distance_to_next_instruction (const maps_route_maneuver_h maneuver, double *distance_to_next_instruction) |
Gets the distance to next instruction of the route Maneuver. | |
Typedefs | |
typedef void * | maps_route_maneuver_h |
The Route Maneuver handle. |
typedef void* maps_route_maneuver_h |
The Route Maneuver handle.
The handle of Route Maneuver instance.
Enumeration for direction type.
Enumeration for the turn type.
int maps_route_maneuver_clone | ( | const maps_route_maneuver_h | origin, |
maps_route_maneuver_h * | cloned | ||
) |
Clones the route Maneuver handle.
This function clones the route Maneuver handle origin and all its resources.
[in] | origin | The original Maneuver handle |
[out] | cloned | A cloned Maneuver handle |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_OUT_OF_MEMORY | Out of memory |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_destroy | ( | maps_route_maneuver_h | maneuver | ) |
Destroys the route Maneuver handle and releases all its resources.
This function destroys the route Maneuver handle and releases all its resources.
[in] | maneuver | The Maneuver handle to destroy |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_direction_id | ( | const maps_route_maneuver_h | maneuver, |
maps_route_direction_e * | direction_id | ||
) |
Gets the route Maneuver direction ID.
This function gets the route Maneuver direction ID.
[in] | maneuver | The Maneuver handle |
[out] | direction_id | The direction ID |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_distance_to_next_instruction | ( | const maps_route_maneuver_h | maneuver, |
double * | distance_to_next_instruction | ||
) |
Gets the distance to next instruction of the route Maneuver.
This function gets the distance to next instruction of the route Maneuver.
[in] | maneuver | The Maneuver handle |
[out] | distance_to_next_instruction | The distance from the current Maneuver to the next Maneuver |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_instruction_text | ( | const maps_route_maneuver_h | maneuver, |
char ** | instruction_text | ||
) |
Gets the instruction text (narrative) of the route Maneuver.
This function gets the instruction text (narrative) of the route Maneuver.
[in] | maneuver | The Maneuver handle |
[in] | instruction_text | The instruction text |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_locale | ( | const maps_route_maneuver_h | maneuver, |
char ** | locale | ||
) |
Gets the route Maneuver locale.
This function gets the route Maneuver locale.
[in] | maneuver | The Maneuver handle |
[out] | locale | The languages of instruction text and street name |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_position | ( | const maps_route_maneuver_h | maneuver, |
maps_coordinates_h * | position | ||
) |
Gets the route Maneuver position.
This function gets the route Maneuver position.
[in] | maneuver | The Maneuver handle |
[out] | position | The start position of the Maneuver |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_road_name | ( | const maps_route_maneuver_h | maneuver, |
char ** | road_name | ||
) |
Gets the road name of the route Maneuver.
This function gets the road name of the route Maneuver.
[in] | maneuver | The Maneuver handle |
[out] | road_name | The current road name of the Maneuver handle |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_time_to_next_instruction | ( | const maps_route_maneuver_h | maneuver, |
int * | time_to_next_instruction | ||
) |
Gets the time to next instruction of the route Maneuver.
This function gets the time to next instruction of the route Maneuver.
[in] | maneuver | The Maneuver handle |
[out] | time_to_next_instruction | The time to next instruction on the given Maneuver handle |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |
int maps_route_maneuver_get_turn_type | ( | const maps_route_maneuver_h | maneuver, |
maps_route_turn_type_e * | turn_type | ||
) |
Gets the route Maneuver turn type.
This function gets the route Maneuver turn type.
[in] | maneuver | The Maneuver handle |
[out] | turn_type | The turn type |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |