*/
using System;
-using System.ComponentModel;
using System.Diagnostics;
using NativeWebRTC = Interop.NativeWebRTC;
namespace Tizen.Multimedia.Remoting
{
/// <summary>
- /// Represents a file source.
+ /// Represents a media source with contents read from a file.
/// </summary>
/// <remarks>
- /// The media storage privilege(http://tizen.org/privilege/mediastorage) is required.<br/>
- /// The external storage privilege(http://tizen.org/privilege/externalstorage) is required.
+ /// Depending on where the source file is located either the media storage privilege (http://tizen.org/privilege/mediastorage) is required or<br/>
+ /// the external storage privilege(http://tizen.org/privilege/externalstorage) is required.
/// </remarks>
/// <seealso cref="WebRTC.AddSource"/>
/// <seealso cref="WebRTC.AddSources"/>
- /// <since_tizen> 9 </since_tizen>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 10 </since_tizen>
public sealed class MediaFileSource : MediaSource
{
private string _path;
/// <param name="type">The <see cref="MediaType"/> of file source.</param>
/// <param name="path">The file path.</param>
/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
- /// <since_tizen> 9 </since_tizen>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 10 </since_tizen>
public MediaFileSource(MediaType type, string path) : base(type)
{
_path = path ?? throw new ArgumentNullException(nameof(path), "path is null");