Added in API level 26

MetricsConstants

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

Summary

Constants
static String

Key to extract the audio bitrate from the MediaRecorder#getMetrics return.

static String

Key to extract the number of audio channels from the MediaRecorder#getMetrics return.

static String

Key to extract the audio samplerate from the MediaRecorder#getMetrics return.

static String

Key to extract the audio timescale from the MediaRecorder#getMetrics return.

static String

Key to extract the video capture frame rate from the MediaRecorder#getMetrics return.

static String

Key to extract the video capture framerate enable value from the MediaRecorder#getMetrics return.

static String

Key to extract the intended playback frame rate from the MediaRecorder#getMetrics return.

static String

Key to extract the height (in pixels) of the captured video from the MediaRecorder#getMetrics return.

static String

Key to extract the recorded movies time units from the MediaRecorder#getMetrics return.

static String

Key to extract the rotation (in degrees) to properly orient the video from the MediaRecorder#getMetrics return.

static String

Key to extract the video bitrate from being used from the MediaRecorder#getMetrics return.

static String

Key to extract the value for how often video iframes are generated from the MediaRecorder#getMetrics return.

static String

Key to extract the video encoding level from the MediaRecorder#getMetrics return.

static String

Key to extract the video encoding profile from the MediaRecorder#getMetrics return.

static String

Key to extract the recorded video time units from the MediaRecorder#getMetrics return.

static String

Key to extract the width (in pixels) of the captured video from the MediaRecorder#getMetrics return.

Constants

AUDIO_BITRATE

Added in API level 26
static val AUDIO_BITRATE: String

Key to extract the audio bitrate from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.audio-bitrate"

AUDIO_CHANNELS

Added in API level 26
static val AUDIO_CHANNELS: String

Key to extract the number of audio channels from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.audio-channels"

AUDIO_SAMPLERATE

Added in API level 26
static val AUDIO_SAMPLERATE: String

Key to extract the audio samplerate from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.audio-samplerate"

AUDIO_TIMESCALE

Added in API level 26
static val AUDIO_TIMESCALE: String

Key to extract the audio timescale from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.audio-timescale"

CAPTURE_FPS

Added in API level 26
static val CAPTURE_FPS: String

Key to extract the video capture frame rate from the MediaRecorder#getMetrics return. The value is a double.

Value: "android.media.mediarecorder.capture-fps"

CAPTURE_FPS_ENABLE

Added in API level 26
static val CAPTURE_FPS_ENABLE: String

Key to extract the video capture framerate enable value from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.capture-fpsenable"

FRAMERATE

Added in API level 26
static val FRAMERATE: String

Key to extract the intended playback frame rate from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.frame-rate"

HEIGHT

Added in API level 26
static val HEIGHT: String

Key to extract the height (in pixels) of the captured video from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.height"

MOVIE_TIMESCALE

Added in API level 26
static val MOVIE_TIMESCALE: String

Key to extract the recorded movies time units from the MediaRecorder#getMetrics return. The value is an integer. A value of 1000 indicates that the movie's timing is in milliseconds.

Value: "android.media.mediarecorder.movie-timescale"

ROTATION

Added in API level 26
static val ROTATION: String

Key to extract the rotation (in degrees) to properly orient the video from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.rotation"

VIDEO_BITRATE

Added in API level 26
static val VIDEO_BITRATE: String

Key to extract the video bitrate from being used from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.video-bitrate"

VIDEO_IFRAME_INTERVAL

Added in API level 26
static val VIDEO_IFRAME_INTERVAL: String

Key to extract the value for how often video iframes are generated from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.video-iframe-interval"

VIDEO_LEVEL

Added in API level 26
static val VIDEO_LEVEL: String

Key to extract the video encoding level from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.video-encoder-level"

VIDEO_PROFILE

Added in API level 26
static val VIDEO_PROFILE: String

Key to extract the video encoding profile from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.video-encoder-profile"

VIDEO_TIMESCALE

Added in API level 26
static val VIDEO_TIMESCALE: String

Key to extract the recorded video time units from the MediaRecorder#getMetrics return. The value is an integer. A value of 1000 indicates that the video's timing is in milliseconds.

Value: "android.media.mediarecorder.video-timescale"

WIDTH

Added in API level 26
static val WIDTH: String

Key to extract the width (in pixels) of the captured video from the MediaRecorder#getMetrics return. The value is an integer.

Value: "android.media.mediarecorder.width"