Added in API level 26

MetricsConstants


class MetricsConstants
kotlin.Any
   ↳ android.media.MediaExtractor.MetricsConstants

Summary

Constants
static String

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

static String

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

static String

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

Constants

FORMAT

Added in API level 26
static val FORMAT: String

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

Value: "android.media.mediaextractor.fmt"

MIME_TYPE

Added in API level 26
static val MIME_TYPE: String

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

Value: "android.media.mediaextractor.mime"

TRACKS

Added in API level 26
static val TRACKS: String

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

Value: "android.media.mediaextractor.ntrk"