Class MediaMicrophoneSource
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Represents a microphone source.
public sealed class MediaMicrophoneSource : MediaSource
- Inheritance
Remarks
The recorder privilege(http://tizen.org/privilege/recorder) is required.
Constructors
View SourceMediaMicrophoneSource()
Initializes a new instance of the MediaMicrophoneSource class.
Declaration
public MediaMicrophoneSource()
Remarks
The recorder privilege(http://tizen.org/privilege/recorder) is required.
See Also
Methods
View SourceApplyAudioStreamPolicy(AudioStreamPolicy)
Applies the audio stream policy to MediaMicrophoneSource.
Declaration
public 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 |
---|---|
System.ObjectDisposedException | The WebRTC has already been disposed. |
System.InvalidOperationException | The WebRTC is not in the valid state. |
System.ArgumentNullException |
|
System.NotSupportedException | AudioStreamType of |