Tizen Native API
5.5
|
This provides APIs related to Place Contact, used in Place Discovery and Search.
Functions | |
int | maps_place_contact_destroy (maps_place_contact_h contact) |
Destroys the place contact handle and releases all its resources. | |
int | maps_place_contact_clone (const maps_place_contact_h origin, maps_place_contact_h *cloned) |
Clones the place contact handle. | |
int | maps_place_contact_get_label (const maps_place_contact_h contact, char **label) |
Gets the place contact label. | |
int | maps_place_contact_get_type (const maps_place_contact_h contact, char **type) |
Gets the place contact type. | |
int | maps_place_contact_get_value (const maps_place_contact_h contact, char **value) |
Gets the place contact value. | |
Typedefs | |
typedef void * | maps_place_contact_h |
The Place Contact handle. |
typedef void* maps_place_contact_h |
The Place Contact handle.
The handle of Place Contact instance.
int maps_place_contact_clone | ( | const maps_place_contact_h | origin, |
maps_place_contact_h * | cloned | ||
) |
Clones the place contact handle.
This function clones the place contact handle origin and all its resources.
[in] | origin | The original place contact handle |
[out] | cloned | A cloned place contact 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_contact_destroy | ( | maps_place_contact_h | contact | ) |
Destroys the place contact handle and releases all its resources.
This function destroys the place contact handle and releases all its resources.
[in] | contact | The place contact 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_contact_get_label | ( | const maps_place_contact_h | contact, |
char ** | label | ||
) |
Gets the place contact label.
This function gets the place contact label.
[in] | contact | The handle to place contact |
[out] | label | The place contact 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_contact_get_type | ( | const maps_place_contact_h | contact, |
char ** | type | ||
) |
Gets the place contact type.
This function gets the place contact type.
[in] | contact | The handle to place contact |
[out] | type | The place contact 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 |
int maps_place_contact_get_value | ( | const maps_place_contact_h | contact, |
char ** | value | ||
) |
Gets the place contact value.
This function gets the place contact value.
[in] | contact | The handle to place contact |
[out] | value | The place contact value |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |