Class AudioRecorder
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.Recorder.dll
Provides the ability to control audio recording.
public class AudioRecorder : Recorder, IDisposable
- Inheritance
- Implements
Constructors
View SourceAudioRecorder(RecorderAudioCodec, RecorderFileFormat)
Initializes a new instance of the AudioRecorder class with the specified audio codec and file format.
Declaration
public AudioRecorder(RecorderAudioCodec audioCodec, RecorderFileFormat fileFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| RecorderAudioCodec | audioCodec | The codec for audio encoding. |
| RecorderFileFormat | fileFormat | The format of result file. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | An internal error occurred. |
| NotSupportedException | A required feature is not supported. |
| ArgumentException |
|
| ArgumentOutOfRangeException |
|
See Also
Methods
View SourceSetFormatAndCodec(RecorderAudioCodec, RecorderFileFormat)
Sets the audio codec and the file format for recording.
Declaration
public void SetFormatAndCodec(RecorderAudioCodec audioCodec, RecorderFileFormat fileFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| RecorderAudioCodec | audioCodec | The codec for audio encoding. |
| RecorderFileFormat | fileFormat | The format of result file. |
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException |
|
| ArgumentException |
|
| ArgumentOutOfRangeException |
|