ImageMetadataListener


@UnstableApi
interface ImageMetadataListener


A listener for image metadata.

Summary

Public functions

Unit
onImageAboutToBeAvailable(presentationTimeUs: Long, format: Format!)

Called on the playback thread when an image is about to be available.

Public functions

onImageAboutToBeAvailable

fun onImageAboutToBeAvailable(presentationTimeUs: Long, format: Format!): Unit

Called on the playback thread when an image is about to be available.

This method is called prior to invoking onImageAvailable.

Parameters
presentationTimeUs: Long

The presentation time of the image, in microseconds.

format: Format!

The format associated with the image.