public final class AudioCapturerInfo extends Object
SystemCapability.Multimedia#AUDIO| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
AudioCapturerInfo.AudioInputSource |
Describes audio input sources.
|
static class |
AudioCapturerInfo.Builder |
A builder of
AudioCapturerInfo objects. |
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
SESSION_ID_UNSPECIFIED |
Indicates the default value of
sessionID. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
AudioStreamInfo |
getAudioStreamInfo() |
Obtains audio stream information from the recording parameter.
|
long |
getBufferSizeInBytes() |
Obtains the buffer size of the audio stream.
|
AudioCapturerInfo.AudioInputSource |
getInputSource() |
Obtains the input source of the audio stream.
|
int |
getSessionID() |
Obtains the session ID of the audio stream.
|
String |
toString() |
Obtains a string representation of the
AudioCapturerInfo instance. |
public static final int SESSION_ID_UNSPECIFIED
sessionID.public AudioStreamInfo getAudioStreamInfo()
public int getSessionID()
public long getBufferSizeInBytes()
public AudioCapturerInfo.AudioInputSource getInputSource()
AudioInputSource.