AudioTrack.MetricsConstants

public static final class AudioTrack.MetricsConstants
extends Object

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


Summary

Constants

String CHANNELMASK

Key to extract the channel mask information for this track from the getMetrics() return value.

String CONTENTTYPE

Key to extract the Content Type for this track from the getMetrics() return value.

String SAMPLERATE

Key to extract the sample rate for this track in Hz from the getMetrics() return value.

String STREAMTYPE

Key to extract the Stream Type for this track from the getMetrics() return value.

String USAGE

Key to extract the Content Type for this track from the getMetrics() return value.

Inherited methods

Constants

CHANNELMASK

String CHANNELMASK

Key to extract the channel mask information for this track from the getMetrics() return value. The value is a Long integer.

Constant Value: "android.media.audiorecord.channelmask"

CONTENTTYPE

String CONTENTTYPE

Key to extract the Content Type for this track from the getMetrics() return value. The value is a String.

Constant Value: "android.media.audiotrack.type"

SAMPLERATE

String SAMPLERATE

Key to extract the sample rate for this track in Hz from the getMetrics() return value. The value is an integer.

Constant Value: "android.media.audiorecord.samplerate"

STREAMTYPE

String STREAMTYPE

Key to extract the Stream Type for this track from the getMetrics() return value. The value is a String.

Constant Value: "android.media.audiotrack.streamtype"

USAGE

String USAGE

Key to extract the Content Type for this track from the getMetrics() return value. The value is a String.

Constant Value: "android.media.audiotrack.usage"