Tizen Native API  8.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) TIZEN_DEPRECATED_API
 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) TIZEN_DEPRECATED_API
 Clones the place image handle.
int maps_place_image_get_id (const maps_place_image_h image, char **id) TIZEN_DEPRECATED_API
 Gets the place image ID.
int maps_place_image_get_url (const maps_place_image_h image, char **url) TIZEN_DEPRECATED_API
 Gets the place image URL.
int maps_place_image_get_width (const maps_place_image_h image, int *width) TIZEN_DEPRECATED_API
 Gets the place image width.
int maps_place_image_get_height (const maps_place_image_h image, int *height) TIZEN_DEPRECATED_API
 Gets the place image height.
int maps_place_image_get_user_link (const maps_place_image_h image, maps_place_link_object_h *user) TIZEN_DEPRECATED_API
 Gets the place image user link.
int maps_place_image_get_media (const maps_place_image_h image, maps_place_media_h *media) TIZEN_DEPRECATED_API
 Gets the place image media.

Typedefs

typedef void * maps_place_image_h
 The Place Image handle.

Typedef Documentation

typedef void* maps_place_image_h

The Place Image handle.

Deprecated:
Deprecated since 8.0.

The handle of Place Image instance.

Since :
2.4
Remarks:
To release the handle use maps_place_image_destroy().
To clone the handle use maps_place_image_clone().
See also:
maps_place_image_destroy()
maps_place_image_clone()

Function Documentation

int maps_place_image_clone ( const maps_place_image_h  origin,
maps_place_image_h cloned 
)

Clones the place image handle.

Deprecated:
Deprecated since 8.0.

This function clones the place image handle origin and all its resources.

Since :
2.4
Remarks:
cloned must be released using maps_place_image_destroy().
Parameters:
[in]originThe original place image handle
[out]clonedA cloned place image handle
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_OUT_OF_MEMORYOut of memory
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_image_destroy()

Destroys the place image handle and releases all its resources.

Deprecated:
Deprecated since 8.0.

This function destroys the place image handle and releases all its resources.

Since :
2.4
Parameters:
[in]imageThe place image handle to destroy
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_image_clone()
int maps_place_image_get_height ( const maps_place_image_h  image,
int *  height 
)

Gets the place image height.

Deprecated:
Deprecated since 8.0.

This function gets the place image height.

Since :
2.4
Parameters:
[in]imageThe handle of place image
[out]heightThe place image height
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
int maps_place_image_get_id ( const maps_place_image_h  image,
char **  id 
)

Gets the place image ID.

Deprecated:
Deprecated since 8.0.

This function gets the place image ID.

Since :
2.4
Remarks:
id must be released using free().
Parameters:
[in]imageThe handle of place image
[out]idThe place image ID
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported

Gets the place image media.

Deprecated:
Deprecated since 8.0.

This function gets the place image media.

Since :
2.4
Remarks:
media must be released using maps_place_media_destroy().
Parameters:
[in]imageThe handle of place image
[out]mediaThe place image media
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_media_h
int maps_place_image_get_url ( const maps_place_image_h  image,
char **  url 
)

Gets the place image URL.

Deprecated:
Deprecated since 8.0.

This function gets the place image URL.

Since :
2.4
Remarks:
url must be released using free().
Parameters:
[in]imageThe handle of place image
[out]urlThe place image url
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported

Gets the place image user link.

Deprecated:
Deprecated since 8.0.

This function gets the place image user link.

Since :
2.4
Remarks:
user must be released using maps_place_link_object_destroy().
Parameters:
[in]imageThe handle of place image
[out]userThe place image user link
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_link_object_h
int maps_place_image_get_width ( const maps_place_image_h  image,
int *  width 
)

Gets the place image width.

Deprecated:
Deprecated since 8.0.

This function gets the place image width.

Since :
2.4
Parameters:
[in]imageThe handle of place image
[out]widthThe place image width
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported