int width = 0;
int height = 0;
char *datetaken = NULL;
- char *burst_id = NULL;
ret = media_info_get_image(media_handle, &image_handle);
if (ret != MEDIA_CONTENT_ERROR_NONE) {
image_meta_get_height(image_handle, &height);
image_meta_get_orientation(image_handle, &orientation);
image_meta_get_date_taken(image_handle, &datetaken);
- image_meta_get_burst_id(image_handle, &burst_id);
dlog_print(DLOG_DEBUG, LOG_TAG, "This is an image");
dlog_print(DLOG_DEBUG, LOG_TAG,
if (datetaken)
free(datetaken);
- if (burst_id)
- free(burst_id);
image_meta_destroy(image_handle);
} else if (media_type == MEDIA_CONTENT_TYPE_VIDEO) {
<td>Time the image was created
<p>You can get this information from the EXIF tag. If there is no EXIF tag for the image, set the created time in the file system.</p></td>
</tr>
- <tr>
- <td><code>Is burstshot</code></td>
- <td>Check flag for a burst shot of the image
- <p>The burst shot is a continuous shooting mode.</p></td>
- </tr>
- <tr>
- <td><code>Burstshot ID</code></td>
- <td>ID of a burst shot image
- <p>Assign the same ID to the burst shooting mode.</p></td>
- </tr>
</tbody>
</table>
<p>For metadata of a video file, call <code>withmedia_info_get_video()</code> function with the media handle.</p>