Tizen Native API
5.5
|
This provides APIs related to Place Attributes information, used in Place Discovery and Search.
Functions | |
int | maps_place_attribute_destroy (maps_place_attribute_h attribute) |
Destroys the place attribute handle and releases all its resources. | |
int | maps_place_attribute_clone (const maps_place_attribute_h origin, maps_place_attribute_h *cloned) |
Clones the place attribute handle. | |
int | maps_place_attribute_get_id (const maps_place_attribute_h attribute, char **id) |
Gets the place attribute ID. | |
int | maps_place_attribute_get_label (const maps_place_attribute_h attribute, char **label) |
Gets the place attribute label. | |
int | maps_place_attribute_get_text (const maps_place_attribute_h attribute, char **text) |
Gets the place attribute text. | |
Typedefs | |
typedef void * | maps_place_attribute_h |
The Place Attribute handle. |
typedef void* maps_place_attribute_h |
The Place Attribute handle.
The handle of Place Attribute instance.
int maps_place_attribute_clone | ( | const maps_place_attribute_h | origin, |
maps_place_attribute_h * | cloned | ||
) |
Clones the place attribute handle.
This function clones the place attribute handle origin and all its resources.
[in] | origin | The original place attribute handle |
[out] | cloned | A cloned place attribute 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_place_attribute_destroy | ( | maps_place_attribute_h | attribute | ) |
Destroys the place attribute handle and releases all its resources.
This function destroys the place attribute handle and releases all its resources.
[in] | attribute | The place attribute 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_place_attribute_get_id | ( | const maps_place_attribute_h | attribute, |
char ** | id | ||
) |
Gets the place attribute ID.
This function gets the place attribute ID.
[in] | attribute | The handle to place attribute |
[out] | id | The place attribute 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_place_attribute_get_label | ( | const maps_place_attribute_h | attribute, |
char ** | label | ||
) |
Gets the place attribute label.
This function gets the place attribute label.
[in] | attribute | The handle to place attribute |
[out] | label | The place attribute label |
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_place_attribute_get_text | ( | const maps_place_attribute_h | attribute, |
char ** | text | ||
) |
Gets the place attribute text.
This function gets the place attribute text.
[in] | attribute | The handle to place attribute |
[out] | text | The place attribute 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 |