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
-
System.IDisposable
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 |
---|---|
System.InvalidOperationException | An internal error occurred. |
System.NotSupportedException | A required feature is not supported. |
System.ArgumentException |
|
System.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 |
---|---|
System.NotSupportedException |
|
System.ArgumentException |
|
System.ArgumentOutOfRangeException |
|
See Also
Start(string)
Implements
System.IDisposable