MetricsConstants
class MetricsConstants
kotlin.Any | |
↳ | android.media.AudioRecord.MetricsConstants |
Summary
Constants | |
---|---|
static String |
Key to extract the number of channels being recorded in this record track from the |
static String |
Key to extract the audio data encoding for this track from the |
static String |
Key to extract the estimated latency through the recording pipeline from the |
static String |
Key to extract the sink sample rate for this record track in Hz from the |
static String |
Key to extract the source type for this track from the |
Constants
CHANNELS
static val CHANNELS: String
Key to extract the number of channels being recorded in this record track from the AudioRecord.getMetrics
return value. The value is an int
.
Value: "android.media.audiorecord.channels"
ENCODING
static val ENCODING: String
Key to extract the audio data encoding for this track from the AudioRecord.getMetrics
return value. The value is a String
.
Value: "android.media.audiorecord.encoding"
LATENCY
static valLATENCY: String
Deprecated: Not properly supported in the past.
Key to extract the estimated latency through the recording pipeline from the AudioRecord.getMetrics
return value. This is in units of milliseconds. The value is an int
.
Value: "android.media.audiorecord.latency"
SAMPLERATE
static val SAMPLERATE: String
Key to extract the sink sample rate for this record track in Hz from the AudioRecord.getMetrics
return value. The value is an int
.
Value: "android.media.audiorecord.samplerate"
SOURCE
static val SOURCE: String
Key to extract the source type for this track from the AudioRecord.getMetrics
return value. The value is a String
.
Value: "android.media.audiorecord.source"