|
Tizen Native API
5.0
|
This provides APIs related to take snapshots.
Functions | |
| int | maps_view_capture_snapshot (maps_view_h view, maps_view_snapshot_format_type_e type, int quality, const char *path) |
| Captures a snapshot of the Map View. The request is synchronous. | |
Typedefs | |
| typedef enum _maps_view_snapshot_format_type_e | maps_view_snapshot_format_type_e |
| Enumeration for snapshot file format type. | |
Enumeration for snapshot file format type.
| int maps_view_capture_snapshot | ( | maps_view_h | view, |
| maps_view_snapshot_format_type_e | type, | ||
| int | quality, | ||
| const char * | path | ||
| ) |
Captures a snapshot of the Map View.
The request is synchronous.
This function retrieves an image of a map currently represented on the Map View.
| [in] | view | The Map View handle |
| [in] | type | The type of file format |
| [in] | quality | The quality for encoding (1~100) |
| [in] | path | The file path to be created callback function |
0 on success, otherwise a negative error value | MAPS_ERROR_NONE | Successful |
| MAPS_ERROR_INVALID_PARAMETER | Invalid parameter |
| MAPS_ERROR_SERVICE_NOT_AVAILABLE | Service not available |
| MAPS_ERROR_PERMISSION_DENIED | Permission Denied |
| MAPS_ERROR_INVALID_OPERATION | Operation is not valid |
| MAPS_ERROR_NOT_SUPPORTED | Not supported |