|
Tizen Native API
5.0
|
This provides APIs related to place Category information, used in Place Discovery and Search.
Functions | |
| int | maps_place_category_create (maps_place_category_h *category) |
| Creates a new place category handle. | |
| int | maps_place_category_clone (const maps_place_category_h origin, maps_place_category_h *cloned) |
| Clones the place category handle. | |
| int | maps_place_category_destroy (maps_place_category_h category) |
| Destroys the place category handle and releases all its resources. | |
| int | maps_place_category_get_id (const maps_place_category_h category, char **id) |
| Gets the place category ID. | |
| int | maps_place_category_get_name (const maps_place_category_h category, char **name) |
| Gets the place category name. | |
| int | maps_place_category_get_url (const maps_place_category_h category, char **url) |
| Gets the place category URL. | |
| int | maps_place_category_set_id (maps_place_category_h category, const char *id) |
| Sets the place category ID. | |
| int | maps_place_category_set_name (maps_place_category_h category, const char *name) |
| Sets the place category name. | |
| int | maps_place_category_set_url (maps_place_category_h category, const char *url) |
| Sets the place category URL. | |
Typedefs | |
| typedef void * | maps_place_category_h |
| The Place Category handle. | |
| typedef void* maps_place_category_h |
The Place Category handle.
The handle of Place Category instance.
| int maps_place_category_clone | ( | const maps_place_category_h | origin, |
| maps_place_category_h * | cloned | ||
| ) |
Clones the place category handle.
This function clones the place category handle origin and all its resources.
| [in] | origin | The original place category handle |
| [out] | cloned | A cloned place category 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_category_create | ( | maps_place_category_h * | category | ) |
Creates a new place category handle.
This function creates a new place category handle and allocates all needed resources.
| [out] | category | A handle of a new place category on success |
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_category_destroy | ( | maps_place_category_h | category | ) |
Destroys the place category handle and releases all its resources.
This function destroys the place category handle and releases all its resources.
| [in] | category | The place category 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_category_get_id | ( | const maps_place_category_h | category, |
| char ** | id | ||
| ) |
Gets the place category ID.
This function gets the place category ID.
| [in] | category | The handle of place category |
| [out] | id | The place category 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_category_get_name | ( | const maps_place_category_h | category, |
| char ** | name | ||
| ) |
Gets the place category name.
This function gets the place category name.
| [in] | category | The handle of place category |
| [out] | name | The place category 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_place_category_get_url | ( | const maps_place_category_h | category, |
| char ** | url | ||
| ) |
Gets the place category URL.
This function gets the place category URL.
| [in] | category | The handle of place category |
| [out] | url | The place category URL |
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_category_set_id | ( | maps_place_category_h | category, |
| const char * | id | ||
| ) |
Sets the place category ID.
This function sets the place category ID.
| [in] | category | The handle of place category |
| [in] | id | The place category 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_category_set_name | ( | maps_place_category_h | category, |
| const char * | name | ||
| ) |
Sets the place category name.
This function sets the place category name.
| [in] | category | The handle of place category |
| [in] | name | The place category 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_place_category_set_url | ( | maps_place_category_h | category, |
| const char * | url | ||
| ) |
Sets the place category URL.
This function sets the place category URL.
| [in] | category | The handle of place category |
| [in] | url | The place category URL |
0 on success, otherwise a negative error value | MAPS_ERROR_NONE | Successful |
| MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
| MAPS_ERROR_NOT_SUPPORTED | Not supported |