Tizen Native API
5.0
|
This provides APIs related to Place Image information, used in Place Discovery and Search.
Functions | |
int | maps_place_image_destroy (maps_place_image_h image) |
Destroys the place image handle and releases all its resources. | |
int | maps_place_image_clone (const maps_place_image_h origin, maps_place_image_h *cloned) |
Clones the place image handle. | |
int | maps_place_image_get_id (const maps_place_image_h image, char **id) |
Gets the place image ID. | |
int | maps_place_image_get_url (const maps_place_image_h image, char **url) |
Gets the place image URL. | |
int | maps_place_image_get_width (const maps_place_image_h image, int *width) |
Gets the place image width. | |
int | maps_place_image_get_height (const maps_place_image_h image, int *height) |
Gets the place image height. | |
int | maps_place_image_get_user_link (const maps_place_image_h image, maps_place_link_object_h *user) |
Gets the place image user link. | |
int | maps_place_image_get_media (const maps_place_image_h image, maps_place_media_h *media) |
Gets the place image media. | |
Typedefs | |
typedef void * | maps_place_image_h |
The Place Image handle. |
typedef void* maps_place_image_h |
The Place Image handle.
The handle of Place Image instance.
int maps_place_image_clone | ( | const maps_place_image_h | origin, |
maps_place_image_h * | cloned | ||
) |
Clones the place image handle.
This function clones the place image handle origin and all its resources.
[in] | origin | The original place image handle |
[out] | cloned | A cloned place image 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_image_destroy | ( | maps_place_image_h | image | ) |
Destroys the place image handle and releases all its resources.
This function destroys the place image handle and releases all its resources.
[in] | image | The place image 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_image_get_height | ( | const maps_place_image_h | image, |
int * | height | ||
) |
Gets the place image height.
This function gets the place image height.
[in] | image | The handle of place image |
[out] | height | The place image height |
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_image_get_id | ( | const maps_place_image_h | image, |
char ** | id | ||
) |
Gets the place image ID.
This function gets the place image ID.
[in] | image | The handle of place image |
[out] | id | The place image 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_image_get_media | ( | const maps_place_image_h | image, |
maps_place_media_h * | media | ||
) |
Gets the place image media.
This function gets the place image media.
[in] | image | The handle of place image |
[out] | media | The place image media |
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_image_get_url | ( | const maps_place_image_h | image, |
char ** | url | ||
) |
Gets the place image URL.
This function gets the place image URL.
[in] | image | The handle of place image |
[out] | url | The place image 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_image_get_user_link | ( | const maps_place_image_h | image, |
maps_place_link_object_h * | user | ||
) |
Gets the place image user link.
This function gets the place image user link.
[in] | image | The handle of place image |
[out] | user | The place image user link |
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_image_get_width | ( | const maps_place_image_h | image, |
int * | width | ||
) |
Gets the place image width.
This function gets the place image width.
[in] | image | The handle of place image |
[out] | width | The place image width |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |