MediaExtractor.MetricsConstants

public static final class MediaExtractor.MetricsConstants
extends Object

java.lang.Object
   ↳ android.media.MediaExtractor.MetricsConstants


Summary

Constants

String FORMAT

Key to extract the container format from the MediaExtractor#getMetrics return value.

String MIME_TYPE

Key to extract the container MIME type from the MediaExtractor#getMetrics return value.

String TRACKS

Key to extract the number of tracks in the container from the MediaExtractor#getMetrics return value.

Inherited methods

Constants

FORMAT

Added in API level 26
public static final String FORMAT

Key to extract the container format from the MediaExtractor#getMetrics return value. The value is a String.

Constant Value: "android.media.mediaextractor.fmt"

MIME_TYPE

Added in API level 26
public static final String MIME_TYPE

Key to extract the container MIME type from the MediaExtractor#getMetrics return value. The value is a String.

Constant Value: "android.media.mediaextractor.mime"

TRACKS

Added in API level 26
public static final String TRACKS

Key to extract the number of tracks in the container from the MediaExtractor#getMetrics return value. The value is an integer.

Constant Value: "android.media.mediaextractor.ntrk"