Tizen Native API
5.5
|
This provides APIs related to Place Review information, used in Place Discovery and Search.
Functions | |
int | maps_place_review_destroy (maps_place_review_h review) |
Destroys the place review handle and releases all its resources. | |
int | maps_place_review_clone (const maps_place_review_h origin, maps_place_review_h *cloned) |
Clones the place review handle. | |
int | maps_place_review_get_date (const maps_place_review_h review, char **date) |
Gets the place review date. | |
int | maps_place_review_get_title (const maps_place_review_h review, char **title) |
Gets the place review title. | |
int | maps_place_review_get_rating (const maps_place_review_h review, double *rating) |
Gets the place review rating. | |
int | maps_place_review_get_description (const maps_place_review_h review, char **description) |
Gets the place review description. | |
int | maps_place_review_get_language (const maps_place_review_h review, char **language) |
Gets the place review language. | |
int | maps_place_review_get_media (const maps_place_review_h review, maps_place_media_h *media) |
Gets the place review media. | |
int | maps_place_review_get_user_link (const maps_place_review_h review, maps_place_link_object_h *user) |
Gets the place review user link. | |
Typedefs | |
typedef void * | maps_place_review_h |
The Place Review handle. |
typedef void* maps_place_review_h |
The Place Review handle.
The handle of Place Review instance.
int maps_place_review_clone | ( | const maps_place_review_h | origin, |
maps_place_review_h * | cloned | ||
) |
Clones the place review handle.
This function clones the place review handle origin and all its resources.
[in] | origin | The original place review handle |
[out] | cloned | A cloned place review 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_review_destroy | ( | maps_place_review_h | review | ) |
Destroys the place review handle and releases all its resources.
This function destroys the place review handle and releases all its resources.
[in] | review | The place review 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_review_get_date | ( | const maps_place_review_h | review, |
char ** | date | ||
) |
Gets the place review date.
This function gets the place review date.
[in] | review | The handle to place review |
[out] | date | The place review date |
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_review_get_description | ( | const maps_place_review_h | review, |
char ** | description | ||
) |
Gets the place review description.
This function gets the place review description.
[in] | review | The handle to place review |
[out] | description | The place review description |
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_review_get_language | ( | const maps_place_review_h | review, |
char ** | language | ||
) |
Gets the place review language.
This function gets the place review language.
[in] | review | The handle to place review |
[out] | language | The place review language |
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_review_get_media | ( | const maps_place_review_h | review, |
maps_place_media_h * | media | ||
) |
Gets the place review media.
This function gets the place review media.
[in] | review | The handle to place review |
[out] | media | The place review 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_review_get_rating | ( | const maps_place_review_h | review, |
double * | rating | ||
) |
Gets the place review rating.
This function gets the place review rating.
[in] | review | The handle to place review |
[out] | rating | The place review rating |
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_review_get_title | ( | const maps_place_review_h | review, |
char ** | title | ||
) |
Gets the place review title.
This function gets the place review title.
[in] | review | The handle to place review |
[out] | title | The place review title |
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_review_get_user_link | ( | const maps_place_review_h | review, |
maps_place_link_object_h * | user | ||
) |
Gets the place review user link.
This function gets the place review user link.
[in] | review | The handle to place review |
[out] | user | The place review 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 |