Tizen Native API
5.5
|
This provides APIs related to Place Rating information, used in Place Discovery and Search.
Functions | |
int | maps_place_rating_destroy (maps_place_rating_h rating) |
Destroys the place rating handle and releases all its resources. | |
int | maps_place_rating_clone (const maps_place_rating_h origin, maps_place_rating_h *cloned) |
Clones the place rating handle. | |
int | maps_place_rating_get_count (const maps_place_rating_h rating, int *count) |
Gets the place rating count. | |
int | maps_place_rating_get_average (const maps_place_rating_h rating, double *average) |
Gets the place rating average. | |
Typedefs | |
typedef void * | maps_place_rating_h |
The Place Rating handle. |
typedef void* maps_place_rating_h |
The Place Rating handle.
The handle of Place Rating instance.
int maps_place_rating_clone | ( | const maps_place_rating_h | origin, |
maps_place_rating_h * | cloned | ||
) |
Clones the place rating handle.
This function clones the place rating handle origin and all its resources.
[in] | origin | The original place rating handle |
[out] | cloned | A cloned place rating 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_rating_destroy | ( | maps_place_rating_h | rating | ) |
Destroys the place rating handle and releases all its resources.
This function destroys the place rating handle and releases all its resources.
[in] | rating | The place rating 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_rating_get_average | ( | const maps_place_rating_h | rating, |
double * | average | ||
) |
Gets the place rating average.
This function gets the place rating average.
[in] | rating | The handle to place rating handle |
[out] | average | The place average 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_rating_get_count | ( | const maps_place_rating_h | rating, |
int * | count | ||
) |
Gets the place rating count.
This function gets the place rating count.
[in] | rating | The handle to place rating handle |
[out] | count | The place rating count |
0
on success, otherwise a negative error value MAPS_ERROR_NONE | Successful |
MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
MAPS_ERROR_NOT_SUPPORTED | Not supported |