Class MediaMicrophoneSource

    Definition

    Namespace:
    Tizen.Multimedia.Remoting
    Assembly:
    Tizen.Multimedia.Remoting.dll

    Represents a media source that makes audio data using microphone.

    public sealed class MediaMicrophoneSource : MediaSource
    Inheritance
    object
    MediaSource
    MediaMicrophoneSource
    Remarks

    The recorder privilege(http://tizen.org/privilege/recorder) is required.

    Constructors

    View Source

    MediaMicrophoneSource()

    Initializes a new instance of the MediaMicrophoneSource class.

    Declaration
    public MediaMicrophoneSource()
    Remarks

    The recorder privilege(http://tizen.org/privilege/recorder) is required.

    See Also
    AddSource(MediaSource)
    AddSources(params MediaSource[])

    Methods

    View Source

    ApplyAudioStreamPolicy(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

    This method does not throw state exception anymore(Since API Level 12). It can be called in any 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.
    -or-
    policy has already been disposed.

    System.InvalidOperationException

    An internal error occurs.

    System.ArgumentNullException

    policy is null.

    System.NotSupportedException

    AudioStreamType of policy is not supported on the current platform.

    See Also
    AudioStreamPolicy

    See Also

    AddSource(MediaSource)
    AddSources(params MediaSource[])
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX