This provides APIs related to Place Rating information, used in Place Discovery and Search.
Typedef Documentation
Function Documentation
Clones the place rating handle.
This function clones the place rating handle origin and all its resources.
- Since :
- 2.4
- Parameters:
-
| [in] | origin | The original place rating handle |
| [out] | cloned | A cloned place rating handle |
- Returns:
0 on success, otherwise a negative error value
- Return values:
-
- See also:
- maps_place_rating_destroy()
Destroys the place rating handle and releases all its resources.
This function destroys the place rating handle and releases all its resources.
- Since :
- 2.4
- Parameters:
-
| [in] | rating | The place rating handle to destroy |
- Returns:
0 on success, otherwise a negative error value
- Return values:
-
- See also:
- maps_place_rating_clone()
Gets the place rating average.
This function gets the place rating average.
- Since :
- 2.4
- Parameters:
-
| [in] | rating | The handle to place rating handle |
| [out] | average | The place average rating |
- Returns:
0 on success, otherwise a negative error value
- Return values:
-
Gets the place rating count.
This function gets the place rating count.
- Since :
- 2.4
- Parameters:
-
| [in] | rating | The handle to place rating handle |
| [out] | count | The place rating count |
- Returns:
0 on success, otherwise a negative error value
- Return values:
-