Class MediaMicrophoneSource
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
- API Level:
- 9
Represents a microphone source.
C#Copypublic sealed class MediaMicrophoneSource : MediaSource, IDisplayable<uint>
- Inheritance
Remarks
The recorder privilege(http://tizen.org/privilege/recorder) is required.
Constructors
Declaration
C#Copypublic MediaMicrophoneSource()
API Level: 9
Methods
View Source
ApplyAudioStreamPolicy(AudioStreamPolicy)
Applies the audio stream policy to MediaMicrophoneSource.
Declaration
C#Copypublic void ApplyAudioStreamPolicy(AudioStreamPolicy policy)
Parameters
Type | Name | Description |
---|---|---|
AudioStreamPolicy | policy | The AudioStreamPolicy to apply. |
Remarks
The WebRTC must be in the Idle state.
WebRTC does not support all AudioStreamType.
Supported types are Media, VoiceRecognition,
Voip, MediaExternalOnly.
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The WebRTC has already been disposed. |
System.InvalidOperationException | The WebRTC is not in the valid state. |
System.ArgumentNullException |
|
System.NotSupportedException | AudioStreamType of |