Class AudioRecorder
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.Recorder.dll
- API Level:
- 4
Provides the ability to control audio recording.
C#Copypublic class AudioRecorder : Recorder, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View Source
AudioRecorder(RecorderAudioCodec, RecorderFileFormat)
Initializes a new instance of the AudioRecorder class with the specified audio codec and file format.
Declaration
C#Copypublic 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
API Level: 4
Feature: http://tizen.org/feature/media.audio_recording
Methods
View Source
SetFormatAndCodec(RecorderAudioCodec, RecorderFileFormat)
Sets the audio codec and the file format for recording.
Declaration
C#Copypublic 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(System.String)
API Level: 4
Implements
System.IDisposable