ImageMetadataListener


@UnstableApi
public interface ImageMetadataListener


A listener for image metadata.

Summary

Public methods

abstract void
onImageAboutToBeAvailable(long presentationTimeUs, Format format)

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

Public methods

onImageAboutToBeAvailable

abstract void onImageAboutToBeAvailable(long presentationTimeUs, Format format)

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

This method is called prior to invoking onImageAvailable.

Parameters
long presentationTimeUs

The presentation time of the image, in microseconds.

Format format

The format associated with the image.