Fixed comment issues.
authorcoderhyme <jhyo.kim@samsung.com>
Tue, 30 May 2017 06:26:00 +0000 (15:26 +0900)
committercoderhyme <jhyo.kim@samsung.com>
Wed, 7 Jun 2017 10:52:55 +0000 (19:52 +0900)
Fixed format errors related to new line and <para> tag.
Added missing tags.
Fixed typos and so on.

Change-Id: I3913ad79d9a54ed71abdb906271cdd55c31ffa83
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
67 files changed:
src/Tizen.Multimedia.AudioIO/AudioIO/AudioCapture.cs
src/Tizen.Multimedia.AudioIO/AudioIO/AudioDataAvailableEventArgs.cs
src/Tizen.Multimedia.AudioIO/AudioIO/AudioIOStateChangedEventArgs.cs
src/Tizen.Multimedia.AudioIO/AudioIO/AudioPlayback.cs
src/Tizen.Multimedia.Camera/Camera/CameraSettings.cs
src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs
src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodecType.cs
src/Tizen.Multimedia.MediaPlayer/Player/AudioEffect.cs
src/Tizen.Multimedia.MediaPlayer/Player/DownloadProgress.cs
src/Tizen.Multimedia.MediaPlayer/Player/EqualizerBand.cs
src/Tizen.Multimedia.MediaPlayer/Player/MediaBufferSource.cs
src/Tizen.Multimedia.MediaPlayer/Player/MediaStreamBufferStatusChangedEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/MediaStreamSeekingOccurredEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/MediaStreamSource.cs
src/Tizen.Multimedia.MediaPlayer/Player/MediaUriSource.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlaybackInterruptedEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/Player.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlayerDisplaySettings.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlayerErrorOccurredEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlayerTrackInfo.cs
src/Tizen.Multimedia.MediaPlayer/Player/StreamInfo.cs
src/Tizen.Multimedia.MediaPlayer/Player/SubtitleUpdatedEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/VideoFrameDecodedEventArgs.cs
src/Tizen.Multimedia.MediaPlayer/Player/VideoStreamChangedEventArgs.cs
src/Tizen.Multimedia.Metadata/MetadataEditor/MetadataEditor.cs
src/Tizen.Multimedia.Metadata/MetadataExtractor/Artwork.cs
src/Tizen.Multimedia.Metadata/MetadataExtractor/Metadata.cs
src/Tizen.Multimedia.Metadata/MetadataExtractor/MetadataExtractor.cs
src/Tizen.Multimedia.Metadata/MetadataExtractor/SyncLyrics.cs
src/Tizen.Multimedia.Util/ThumbnailExtractor/ThumbnailData.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeDetectionTarget.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeDetector.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeGenerationConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeGenerator.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeImageConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/BarcodeImageFormat.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceDetectionConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceDetector.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceRecognitionModel.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceRecognitionResult.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceRecognizer.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceTracker.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceTrackingModel.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceTrackingResult.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageObject.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageRecognitionConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageRecognizer.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageTracker.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageTrackingConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageTrackingModel.cs
src/Tizen.Multimedia.Vision/MediaVision/MediaVisionSource.cs
src/Tizen.Multimedia.Vision/MediaVision/MovementDetectionConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/MovementDetector.cs
src/Tizen.Multimedia.Vision/MediaVision/PersonAppearanceDetector.cs
src/Tizen.Multimedia.Vision/MediaVision/PersonRecognizer.cs
src/Tizen.Multimedia.Vision/MediaVision/QrConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/Quadrangle.cs
src/Tizen.Multimedia.Vision/MediaVision/SurveillanceEngine.cs
src/Tizen.Multimedia/Common/Display.cs
src/Tizen.Multimedia/Common/IMediaBuffer.cs
src/Tizen.Multimedia/Common/Visibility.cs
src/Tizen.Multimedia/MediaTool/MediaFormat.cs
src/Tizen.Multimedia/MediaTool/MediaFormatMimeType.cs
src/Tizen.Multimedia/MediaTool/MediaPacket.cs
src/Tizen.Multimedia/MediaTool/MediaPacketBuffer.cs
src/Tizen.Multimedia/MediaTool/MediaPacketBufferFlags.cs

index 5b04996..1284919 100644 (file)
@@ -25,7 +25,14 @@ namespace Tizen.Multimedia
     /// <remarks>The recorder privilege(http://tizen.org/privilege/recorder) is required.</remarks>
     public abstract class AudioCaptureBase : IDisposable
     {
+        /// <summary>
+        /// Specifies the minimum value allowed for the audio capture.
+        /// </summary>
         public static readonly int MinSampleRate = 8000;
+
+        /// <summary>
+        /// Specifies the maximum value allowed for the audio capture.
+        /// </summary>
         public static readonly int MaxSampleRate = 48000;
 
         internal IntPtr _handle = IntPtr.Zero;
@@ -146,13 +153,12 @@ namespace Tizen.Multimedia
         public AudioSampleType SampleType { get; }
 
         /// <summary>
-        /// Gets the size to be allocated for the audio input buffer.
+        /// Gets the size allocated for the audio input buffer.
         /// </summary>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
         public int GetBufferSize()
         {
-            int size;
-            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioInput.GetBufferSize(_handle, out size));
+            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioInput.GetBufferSize(_handle, out var size));
             return size;
         }
 
@@ -160,8 +166,8 @@ namespace Tizen.Multimedia
         /// Prepares the AudioCapture for reading audio data by starting buffering of audio data from the device.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     Operation failed due to internal error.
-        ///     <para>-or-</para>
+        ///     Operation failed due to internal error.\n
+        ///     -or-\n
         ///     The current state is not <see cref="AudioIOState.Idle"/>.
         /// </exception>
         /// <seealso cref="Unprepare"/>
@@ -177,8 +183,8 @@ namespace Tizen.Multimedia
         /// Unprepares the AudioCapture.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     Operation failed due to internal error.
-        ///     <para>-or-</para>
+        ///     Operation failed due to internal error.\n
+        ///     \n
         ///     The current state is <see cref="AudioIOState.Idle"/>.
         /// </exception>
         /// <seealso cref="Prepare"/>
@@ -194,8 +200,8 @@ namespace Tizen.Multimedia
         /// Pauses buffering of audio data from the device.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     The current state is <see cref="AudioState.Idle"/>.
-        ///     <para>-or-</para>
+        ///     The current state is <see cref="AudioState.Idle"/>.\n
+        ///     -or-\n
         ///     The method is called in the <see cref="AsyncAudioCapture.DataAvailable"/> event handler.
         /// </exception>
         /// <seealso cref="Resume"/>
@@ -213,8 +219,8 @@ namespace Tizen.Multimedia
         /// Resumes buffering audio data from the device.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     The current state is <see cref="AudioState.Idle"/>.
-        ///     <para>-or-</para>
+        ///     The current state is <see cref="AudioState.Idle"/>.\n
+        ///     -or-\n
         ///     The method is called in the <see cref="AsyncAudioCapture.DataAvailable"/> event handler.
         /// </exception>
         /// <seealso cref="Pause"/>
@@ -270,7 +276,7 @@ namespace Tizen.Multimedia
     /// <summary>
     /// Provides the ability to record audio from system audio input devices in synchronous way.
     /// </summary>
-    /// <remarks>The recorder privilege(http://tizen.org/privilege/recorder) is required.</remarks>
+    /// <privilege>http://tizen.org/privilege/recorder</privilege>
     public class AudioCapture : AudioCaptureBase
     {
         /// <summary>
@@ -280,14 +286,14 @@ namespace Tizen.Multimedia
         /// <param name="channel">The audio channel type.</param>
         /// <param name="sampleType">The audio sample type.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.
-        ///     <para>-or-</para>
+        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.\n
+        ///     -or-\n
         ///     <paramref name="sampleRate"/> is greater than <see cref="MaxSampleRate"/>.
         /// </exception>
         /// <exception cref="ArgumentException">
-        ///     The value of <paramref name="channel"/> is invalid.
-        ///     <para>-or-</para>
-        ///     The value of <paramref name="sampleType"/> is invalid.
+        ///     <paramref name="channel"/> is invalid.\n
+        ///     -or-\n
+        ///     <paramref name="sampleType"/> is invalid.
         /// </exception>
         /// <exception cref="InvalidOperationException">The required privilege is not specified.</exception>
         /// <exception cref="NotSupportedException">The system does not support microphone.</exception>
@@ -299,22 +305,22 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Reads audio data from the audio input buffer.
         /// </summary>
-        /// <param name="length"></param>
-        /// <returns>The buffer of audio data receiving an input</returns>
+        /// <param name="count">The number of bytes to be read.</param>
+        /// <returns>The buffer of audio data captured.</returns>
         /// <exception cref="InvalidOperationException">The current state is not <see cref="AudioIOState.Running"/>.</exception>
-        /// <exception cref="ArgumentOutOfRangeException"><paramref name="length"/> is equal to or less than zero.</exception>
-        public byte[] Read(int length)
+        /// <exception cref="ArgumentOutOfRangeException"><paramref name="count"/> is equal to or less than zero.</exception>
+        public byte[] Read(int count)
         {
-            if (length <= 0)
+            if (count <= 0)
             {
-                throw new ArgumentOutOfRangeException(nameof(length), length,
-                    $"{ nameof(length) } can't be equal to or less than zero.");
+                throw new ArgumentOutOfRangeException(nameof(count), count,
+                    $"{ nameof(count) } can't be equal to or less than zero.");
             }
             ValidateState(AudioIOState.Running);
 
-            byte[] buffer = new byte[length];
+            byte[] buffer = new byte[count];
 
-            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioInput.Read(_handle, buffer, length),
+            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioInput.Read(_handle, buffer, count),
                 "Failed to read");
 
             return buffer;
@@ -324,7 +330,7 @@ namespace Tizen.Multimedia
     /// <summary>
     /// Provides the ability to record audio from system audio input devices in asynchronous way.
     /// </summary>
-    /// <remarks>The recorder privilege(http://tizen.org/privilege/recorder) is required.</remarks>
+    /// <privilege>http://tizen.org/privilege/recorder</privilege>
     public class AsyncAudioCapture : AudioCaptureBase
     {
 
@@ -340,14 +346,14 @@ namespace Tizen.Multimedia
         /// <param name="channel">The audio channel type.</param>
         /// <param name="sampleType">The audio sample type.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.
-        ///     <para>-or-</para>
+        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.\n
+        ///     -or-\n
         ///     <paramref name="sampleRate"/> is greater than <see cref="MaxSampleRate"/>.
         /// </exception>
         /// <exception cref="ArgumentException">
-        ///     The value of <paramref name="channel"/> is invalid.
-        ///     <para>-or-</para>
-        ///     The value of <paramref name="sampleType"/> is invalid.
+        ///     <paramref name="channel"/> is invalid.\n
+        ///     -or-\n
+        ///     <paramref name="sampleType"/> is invalid.
         /// </exception>
         /// <exception cref="InvalidOperationException">The required privilege is not specified.</exception>
         /// <exception cref="NotSupportedException">The system does not support microphone.</exception>
index 0cae374..8fc7940 100644 (file)
@@ -28,6 +28,9 @@ namespace Tizen.Multimedia
             Data = data;
         }
 
+        /// <summary>
+        /// Gets the audio data captured.
+        /// </summary>
         public byte[] Data { get; }
     }
 }
index e9cca42..5d1677d 100644 (file)
@@ -19,16 +19,10 @@ using System;
 namespace Tizen.Multimedia
 {
     /// <summary>
-    /// Argument for the event that is Audio State Changed.
+    /// Provides data for the <see cref="AudioCaptureBase.StateChanged"/> event and <see cref="AudioPlayback.StateChanged"/>.
     /// </summary>
     public class AudioIOStateChangedEventArgs : EventArgs
     {
-        /// <summary>
-        /// Initializes the instance of the AudioStateChangedEventArgs class.
-        /// </summary>
-        /// <param name="previous"></param>
-        /// <param name="current"></param>
-        /// <param name="byPolicy"></param>
         internal AudioIOStateChangedEventArgs(AudioIOState previous, AudioIOState current, bool byPolicy)
         {
             Previous = previous;
@@ -36,10 +30,19 @@ namespace Tizen.Multimedia
             ByPolicy = byPolicy;
         }
 
+        /// <summary>
+        /// Gets the previous state.
+        /// </summary>
         public AudioIOState Previous { get; }
 
+        /// <summary>
+        /// Gets the current state.
+        /// </summary>
         public AudioIOState Current { get; }
 
+        /// <summary>
+        /// Gets the value indicating whether the state is changed by policy or not.
+        /// </summary>
         public bool ByPolicy { get; }
     }
 }
index 7fca3c5..1a6b8a9 100644 (file)
@@ -81,14 +81,14 @@ namespace Tizen.Multimedia
         /// <param name="channel">The audio channel type.</param>
         /// <param name="sampleType">The audio sample type.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.
-        ///     <para>-or-</para>
+        ///     <paramref name="sampleRate"/> is less than <see cref="MinSampleRate"/>.\n
+        ///     -or-\n
         ///     <paramref name="sampleRate"/> is greater than <see cref="MaxSampleRate"/>.
         /// </exception>
         /// <exception cref="ArgumentException">
-        ///     The value of <paramref name="channel"/> is invalid.
-        ///     <para>-or-</para>
-        ///     The value of <paramref name="sampleType"/> is invalid.
+        ///     <paramref name="channel"/> is invalid.\n
+        ///     -or-\n
+        ///     <paramref name="sampleType"/> is invalid.
         /// </exception>
         public AudioPlayback(int sampleRate, AudioChannel channel, AudioSampleType sampleType)
         {
@@ -203,13 +203,12 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Gets the size to be allocated for the audio output buffer.
+        /// Gets the size allocated for the audio output buffer.
         /// </summary>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
         public int GetBufferSize()
         {
-            int size = 0;
-            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioOutput.GetBufferSize(_handle, out size));
+            AudioIOUtil.ThrowIfError(Interop.AudioIO.AudioOutput.GetBufferSize(_handle, out var size));
             return size;
         }
 
@@ -265,8 +264,8 @@ namespace Tizen.Multimedia
         /// This must be called before <see cref="Write(byte[])"/>.
         /// </remarks>
         /// <exception cref="InvalidOperationException">
-        ///     Operation failed due to internal error.
-        ///     <para>-or-</para>
+        ///     Operation failed due to internal error.\n
+        ///     -or-\n
         ///     The current state is not <see cref="AudioIOState.Idle"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
@@ -283,8 +282,8 @@ namespace Tizen.Multimedia
         /// Unprepares the AudioPlayback.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     Operation failed due to internal error.
-        ///     <para>-or-</para>
+        ///     Operation failed due to internal error.\n
+        ///     -or-\n
         ///     The current state is <see cref="AudioIOState.Idle"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
@@ -302,8 +301,8 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <remarks>It has no effect if the current is the <see cref="AudioIOState.Paused"/>.</remarks>
         /// <exception cref="InvalidOperationException">
-        ///     The current state is <see cref="AudioIOState.Idle"/>.
-        ///     <para>-or-</para>
+        ///     The current state is <see cref="AudioIOState.Idle"/>.\n
+        ///     -or-\n
         ///     The method is called in the <see cref="BufferAvailable"/> event handler.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
@@ -324,8 +323,8 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <remarks>It has no effect if the current is the <see cref="AudioIOState.Running"/>.</remarks>
         /// <exception cref="InvalidOperationException">
-        ///     The current state is <see cref="AudioIOState.Idle"/>.
-        ///     <para>-or-</para>
+        ///     The current state is <see cref="AudioIOState.Idle"/>.\n
+        ///     -or-\n
         ///     The method is called in an event handler.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The AudioPlayback has already been disposed.</exception>
@@ -361,8 +360,8 @@ namespace Tizen.Multimedia
         /// <param name="streamPolicy">The <see cref="AudioStreamPolicy"/> to apply for the AudioPlayback.</param>
         /// <exception cref="ArgumentNullException"><paramref name="streamPolicy"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
-        ///     <paramref name="streamPolicy"/> has already been disposed.
-        ///     <para>-or-</para>
+        ///     <paramref name="streamPolicy"/> has already been disposed.\n
+        ///     -or-\n
         ///     The AudioPlayback has already been disposed.
         /// </exception>
         /// <exception cref="NotSupportedException"><paramref name="streamPolicy"/> is not supported.</exception>
index 9dbec8d..3286db4 100644 (file)
@@ -65,7 +65,7 @@ namespace Tizen.Multimedia
             return new Range(min, max);
         }
 
-#region Auto Focus
+        #region Auto Focus
         /// <summary>
         /// Sets auto focus area.
         /// </summary>
@@ -144,9 +144,9 @@ namespace Tizen.Multimedia
                     "Failed to set camera autofocus mode.");
             }
         }
-#endregion Auto Focus
+        #endregion Auto Focus
 
-#region Contrast
+        #region Contrast
         /// <summary>
         /// The contrast level of the camera.
         /// </summary>
@@ -218,9 +218,9 @@ namespace Tizen.Multimedia
                 return _contrastRange.Value;
             }
         }
-#endregion Contrast
+        #endregion Contrast
 
-#region Brightness
+        #region Brightness
         /// <summary>
         /// The brightness level of the camera.
         /// </summary>
@@ -266,9 +266,9 @@ namespace Tizen.Multimedia
                 return _brightnessRange.Value;
             }
         }
-#endregion Brightness
+        #endregion Brightness
 
-#region Exposure
+        #region Exposure
         /// <summary>
         /// The exposure value.
         /// </summary>
@@ -341,9 +341,9 @@ namespace Tizen.Multimedia
                 return _exposureRange.Value;
             }
         }
-#endregion Exposure
+        #endregion Exposure
 
-#region Zoom
+        #region Zoom
         /// <summary>
         /// The zoom level.
         /// The range for zoom level is received from ZoomRange property.
@@ -390,7 +390,7 @@ namespace Tizen.Multimedia
                 return _zoomRange.Value;
             }
         }
-#endregion Zoom
+        #endregion Zoom
 
         /// <summary>
         /// The whitebalance mode.
@@ -473,7 +473,7 @@ namespace Tizen.Multimedia
             }
         }
 
-#region Resolution, Format, Fps of preview, capture
+        #region Resolution, Format, Fps of preview, capture
         /// <summary>
         /// The preview frame rate.
         /// </summary>
@@ -627,9 +627,9 @@ namespace Tizen.Multimedia
                     "Failed to set capture format.");
             }
         }
-#endregion Resolution, Format, Fps of preview, capture
+        #endregion Resolution, Format, Fps of preview, capture
 
-#region Encoded preview
+        #region Encoded preview
         /// <summary>
         /// The bit rate of encoded preview.
         /// </summary>
@@ -675,7 +675,7 @@ namespace Tizen.Multimedia
                     "Failed to set encoded preview gop intervals.");
             }
         }
-#endregion Encoded preview
+        #endregion Encoded preview
 
         /// <summary>
         /// The theater mode.
@@ -958,7 +958,7 @@ namespace Tizen.Multimedia
             }
         }
 
-#region PTZ(Pan Tilt Zoom), Pan, Tilt
+        #region PTZ(Pan Tilt Zoom), Pan, Tilt
         /// <summary>
         /// Sets the type of PTZ(Pan Tilt Zoom). Mechanical or Electronic.
         /// </summary>
@@ -1078,9 +1078,9 @@ namespace Tizen.Multimedia
                 return _tiltRange.Value;
             }
         }
-#endregion PTZ(Pan Tilt Zoom), Pan, Tilt
+        #endregion PTZ(Pan Tilt Zoom), Pan, Tilt
 
-#region EXIF tag
+        #region EXIF tag
         /// <summary>
         /// The scene mode.
         /// true if EXIF tags are enabled in JPEG file, otherwise false.
@@ -1224,7 +1224,7 @@ namespace Tizen.Multimedia
                     "Failed to set camera tag orientation.");
             }
         }
-#endregion EXIF tag
+        #endregion EXIF tag
     }
 }
 
index 7768d4d..1625af3 100644 (file)
@@ -188,8 +188,8 @@ namespace Tizen.Multimedia.MediaCodec
         /// Prepares the MediaCodec for encoding or decoding.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        ///     The codec is not configured, yet.
-        ///     <para>-or-</para>
+        ///     The codec is not configured, yet.\n
+        ///     -or-\n
         ///     Internal error.
         /// </exception>
         public void Prepare()
@@ -230,9 +230,9 @@ namespace Tizen.Multimedia.MediaCodec
         /// <param name="codecType">The value indicating whether the codec uses hardware acceleration.</param>
         /// <exception cref="ArgumentNullException">format is null</exception>
         /// <exception cref="ArgumentException">
-        ///     codecType is invalid.
-        ///     <para>-or-</para>
-        ///     format is neither audio type or video type.
+        ///     <paramref name="codecType"/> is invalid.\n
+        ///     -or-\n
+        ///     <paramref name="format"/> is neither audio type nor video type.
         ///     </exception>
         /// <exception cref="NotSupportedException">the mime type of the format is not supported.</exception>
         /// <see cref="SupportedAudioCodecs"/>
index 34da665..2aaf82e 100644 (file)
@@ -27,6 +27,9 @@ namespace Tizen.Multimedia.MediaCodec
 
     /// <summary>
     /// Specifies types of codec.
+    /// <para>
+    /// This enumeration has a <see cref="FlagsAttribute"/> attribute that allows a bitwise combination of its member values.
+    /// </para>
     /// </summary>
     [Flags]
     public enum MediaCodecTypes
index 1c30ded..ee0493e 100644 (file)
@@ -61,11 +61,11 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Gets a <see cref="EqualizerBand"/> at the specified index.
         /// </summary>
-        /// <param name="index">The index of the band to get</param>
+        /// <param name="index">The index of the band to get.</param>
         /// <exception cref="ObjectDisposedException">The <see cref="Player"/> has already been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     index is less than zero.
-        ///     <para>-or-</para>
+        ///     index is less than zero.\n
+        ///     -or-\n
         ///     index is equal to or greater than <see cref="Count"/>.
         /// </exception>
         public EqualizerBand this[int index]
index c496863..d56dce6 100644 (file)
@@ -22,7 +22,7 @@ namespace Tizen.Multimedia
     public struct DownloadProgress
     {
         /// <summary>
-        /// Initialize a new instance of the DownloadProgress struct.
+        /// Initializes a new instance of the DownloadProgress struct.
         /// </summary>
         /// <param name="start">The position that downloading started in percentage.</param>
         /// <param name="current">The position indicating the current downloading progress in percentage.</param>
index e4ecec7..f826ad4 100644 (file)
@@ -56,8 +56,8 @@ namespace Tizen.Multimedia
         /// <param name="value">The value indicating new gain in decibel(dB).</param>
         /// <exception cref="ObjectDisposedException">The player that this EqualizerBand belongs to has already been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     value is less than <see cref="AudioEffect.MinBandLevel"/>.
-        ///     <para>-or-</para>
+        ///     value is less than <see cref="AudioEffect.MinBandLevel"/>.\n
+        ///     -or-\n
         ///     value is greater than <see cref="AudioEffect.MaxBandLevel"/>.
         /// </exception>
         public void SetLevel(int value)
index 8ab2397..2fa4cd6 100644 (file)
@@ -35,9 +35,9 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <param name="length">The value indicating the size of the buffer.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        /// length is zero.
-        /// <para>-or-</para>
-        /// length is less than zero.
+        ///     <paramref name="length"/> is zero.\n
+        ///     -or-\n
+        ///     <paramref name="length"/> is less than zero.
         /// </exception>
         public MediaBufferSource(int length)
         {
@@ -59,6 +59,7 @@ namespace Tizen.Multimedia
         {
         }
 
+        //TODO remove default parameter.
         /// <summary>
         /// Initialize a new instance of the MediaBufferSource class from the buffer
         /// with the specified length and the specified offset.
@@ -68,11 +69,11 @@ namespace Tizen.Multimedia
         /// <param name="offset">The value indicating the offset in the buffer of the first byte to copy.</param>
         /// <exception cref="ArgumentNullException">buffer is null.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        /// offset is less than zero.
-        /// <para>-or-</para>
-        /// length is equal to or less than zero.
-        /// <para>-or-</para>
-        /// offset+length is greater than buffer.Length.
+        ///     <paramref name="offset"/> is less than zero.\n
+        ///     -or-\n
+        ///     <paramref name="length"/> is equal to or less than zero.\n
+        ///     -or-\n
+        ///     <paramref name="offset"/>+<paramref name="length"/> is greater than buffer.Length.
         /// </exception>
         public MediaBufferSource(byte[] buffer, int length, int offset = 0)
         {
index 321d6cf..15d8e7a 100644 (file)
@@ -24,7 +24,7 @@ namespace Tizen.Multimedia
     public class MediaStreamBufferStatusChangedEventArgs : EventArgs
     {
         /// <summary>
-        /// Initialize a new instance of the MediaStreamBufferStatusChangedEventArgs class.
+        /// Initializes a new instance of the MediaStreamBufferStatusChangedEventArgs class.
         /// </summary>
         /// <param name="status">The value indicating the status of the stream.</param>
         public MediaStreamBufferStatusChangedEventArgs(MediaStreamBufferStatus status)
index 6bad4ec..e962250 100644 (file)
@@ -23,7 +23,7 @@ namespace Tizen.Multimedia
     public class MediaStreamSeekingOccurredEventArgs : EventArgs
     {
        /// <summary>
-        /// Initialize a new instance of the MediaStreamSeekingOccurredEventArgs class.
+        /// Initializes a new instance of the MediaStreamSeekingOccurredEventArgs class.
         /// </summary>
         /// <param name="offset">The value indicating the new position to seek.</param>
         public MediaStreamSeekingOccurredEventArgs(ulong offset)
index 1c279f0..45946be 100644 (file)
@@ -27,12 +27,14 @@ namespace Tizen.Multimedia
     /// </summary>
     /// <remarks>The source must be set as a source to a player before pushing.</remarks>
     /// <seealso cref="Player.SetSource(MediaSource)"/>
-    // TODO is this name appropriate?
     public sealed class MediaStreamSource : MediaSource
     {
         private readonly MediaFormat _audioMediaFormat;
         private readonly MediaFormat _videoMediaFormat;
 
+        /// <summary>
+        /// Gets all supported audio types.
+        /// </summary>
         public static IEnumerable<MediaFormatAudioMimeType> SupportedAudioTypes
         {
             get
@@ -41,6 +43,9 @@ namespace Tizen.Multimedia
             }
         }
 
+        /// <summary>
+        /// Gets all supported video types.
+        /// </summary>
         public static IEnumerable<MediaFormatVideoMimeType> SupportedVideoTypes
         {
             get
@@ -91,11 +96,11 @@ namespace Tizen.Multimedia
         /// <param name="audioMediaFormat">The <see cref="AudioMediaFormat"/> for this source.</param>
         /// <param name="videoMediaFormat">The <see cref="VideoMediaFormat"/> for this source.</param>
         /// <remarks>AAC and H.264 are supported.</remarks>
-        /// <exception cref="ArgumentNullException">both <paramref name="audioMediaFormat"/> and <paramref name="videoMediaFormat"/> are null.</exception>
+        /// <exception cref="ArgumentNullException">Both <paramref name="audioMediaFormat"/> and <paramref name="videoMediaFormat"/> are null.</exception>
         /// <exception cref="ArgumentException">
-        ///     <paramref name="audioMediaFormat"/> is not supported.
-        ///     <para>-or-</para>
-        ///     <paramref name="videoMediaFormat"/> is not supported.
+        ///     <paramref name="audioMediaFormat"/> is not supported.\n
+        ///     -or-\n
+        ///     <paramref name="videoMediaFormat"/> is not supported.\n
         /// </exception>
         /// <seealso cref="SupportedAudioTypes"/>
         /// <seealso cref="SupportedVideoTypes"/>
@@ -168,15 +173,15 @@ namespace Tizen.Multimedia
         /// <remarks>This source must be set as a source to a player and the player must be in the <see cref="PlayerState.Ready"/>, <see cref="PlayerState.Playing"/> or <see cref="PlayerState.Paused"/> state.</remarks>
         /// <param name="packet">The <see cref="MediaPacket"/> to decode.</param>
         /// <exception cref="InvalidOperationException">
-        ///     This source is not set as a source to a player.
-        ///     <para>-or-</para>
+        ///     This source is not set as a source to a player.\n
+        ///     -or-\n
         ///     The player is not in the valid state.
         /// </exception>
         /// <exception cref="ArgumentNullException">packet is null.</exception>
         /// <exception cref="ObjectDisposedException">packet has been disposed.</exception>
         /// <exception cref="ArgumentException">
-        ///     <paramref name="packet"/> is neither video nor audio type.
-        ///     <para>-or-</para>
+        ///     <paramref name="packet"/> is neither video nor audio type.\n
+        ///     -or-\n
         ///     The format of packet is not matched with the specified format in the constructor.
         /// </exception>
         /// <exception cref="NoBufferSpaceException">the internal buffer reaches limits.</exception>
index c9a85e3..223a10e 100644 (file)
@@ -32,7 +32,7 @@ namespace Tizen.Multimedia
     {
         // TODO consider using Uri class.
         /// <summary>
-        /// Initialize a new instance of the MediaUriSource class with the specified uri.</summary>
+        /// Initializes a new instance of the MediaUriSource class with the specified uri.</summary>
         /// <param name="uri">The uri string.</param>
         /// <remarks>For HTTP or RSTP, uri should start with "http://" or "rtsp://".
         /// The default protocol is "file://".
index 03b87d1..8fe0082 100644 (file)
@@ -23,7 +23,7 @@ namespace Tizen.Multimedia
     public class PlaybackInterruptedEventArgs : EventArgs
     {
         /// <summary>
-        /// Initialize a new instance of the PlaybackInterruptedEventArgs class.
+        /// Initializes a new instance of the PlaybackInterruptedEventArgs class.
         /// </summary>
         /// <param name="reason">The enum value indicating the reason.</param>
         public PlaybackInterruptedEventArgs(PlaybackInterruptionReason reason)
index d5dfb3c..a740ebe 100644 (file)
@@ -283,9 +283,9 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <value>A <see cref="AudioLatencyMode"/> that specifies the mode. The default is <see cref="AudioLatencyMode.Mid"/>.</value>
         /// <remarks>
-        /// If the mode is <see cref="AudioLatencyMode.AudioLatencyMode"/>,
+        /// If the mode is <see cref="AudioLatencyMode.High"/>,
         /// audio output interval can be increased so, it can keep more audio data to play.
-        /// But, state transition like pause or resume can be more slower than default(<see cref="AudioLatencyMode.Mid"/>) mode.
+        /// But, state transition like pause or resume can be more slower than default(<see cref="AudioLatencyMode.Mid"/>).
         /// </remarks>
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
         /// <exception cref="ArgumentException">The value is not valid.</exception>
@@ -588,8 +588,8 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <remarks>The player must be in the <see cref="PlayerState.Playing"/> or <see cref="PlayerState.Paused"/> state.</remarks>
         /// <exception cref="InvalidOperationException">
-        ///     The player is not streaming.
-        ///     <para>-or-</para>
+        ///     The player is not streaming.\n
+        ///     -or-\n
         ///     The player is not in the valid state.
         ///     </exception>
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
@@ -617,9 +617,9 @@ namespace Tizen.Multimedia
         /// <remarks>Valid volume range is from 0 to 1.0, inclusive.</remarks>
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     value is less than zero.
-        ///     <para>-or-</para>
-        ///     value is greater than 1.0.
+        ///     <paramref name="value"/> is less than zero.\n
+        ///     -or-\n
+        ///     <paramref name="value"/> is greater than 1.0.
         /// </exception>
         public void SetVolume(float value)
         {
@@ -711,7 +711,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
         /// <exception cref="InvalidOperationException">
         ///     The player is not in the valid state.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     No subtitle is set.
         /// </exception>
         /// <seealso cref="SetSubtitle(string)"/>
@@ -737,9 +737,6 @@ namespace Tizen.Multimedia
             NativePlayer.Prepare(Handle).ThrowIfFailed("Failed to prepare the player");
         }
 
-        /// <summary>
-        /// Invoked when
-        /// </summary>
         protected virtual void OnPreparing()
         {
             RegisterCallbacks();
@@ -909,8 +906,8 @@ namespace Tizen.Multimedia
         /// <remarks>The player must be in the <see cref="PlayerState.Idle"/> state.</remarks>
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
         /// <exception cref="InvalidOperationException">
-        ///     The player is not in the valid state.
-        ///     <para>-or-</para>
+        ///     The player is not in the valid state.\n
+        ///     -or-\n
         ///     It is not able to assign the source to the player.
         ///     </exception>
         /// <seealso cref="PrepareAsync"/>
@@ -1060,15 +1057,15 @@ namespace Tizen.Multimedia
         /// </remarks>
         /// <exception cref="ObjectDisposedException">The player has already been disposed of.</exception>
         /// <exception cref="InvalidOperationException">
-        ///     The player is not in the valid state.
-        ///     <para>-or-</para>
+        ///     The player is not in the valid state.\n
+        ///     -or-\n
         ///     Streaming playback.
         /// </exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     <paramref name="rate"/> is less than 5.0.
-        ///     <para>-or-</para>
-        ///     <paramref name="rate"/> is greater than 5.0.
-        ///     <para>-or-</para>
+        ///     <paramref name="rate"/> is less than 5.0.\n
+        ///     -or-\n
+        ///     <paramref name="rate"/> is greater than 5.0.\n
+        ///     -or-\n
         ///     <paramref name="rate"/> is zero.
         /// </exception>
         public void SetPlaybackRate(float rate)
@@ -1091,8 +1088,8 @@ namespace Tizen.Multimedia
         /// <param name="policy">The <see cref="AudioStreamPolicy"/> to apply.</param>
         /// <remarks>The player must be in the <see cref="PlayerState.Idle"/> state.</remarks>
         /// <exception cref="ObjectDisposedException">
-        ///     The player has already been disposed of.
-        ///     <para>-or-</para>
+        ///     The player has already been disposed of.\n
+        ///     -or-\n
         ///     <paramref name="poilcy"/> has already been disposed of.
         /// </exception>
         /// <exception cref="InvalidOperationException">The player is not in the valid state.</exception>
@@ -1183,7 +1180,7 @@ namespace Tizen.Multimedia
         private NativePlayer.VideoFrameDecodedCallback _videoFrameDecodedCallback;
 
         /// <summary>
-        /// Occurs when a video frame is decoded
+        /// Occurs when a video frame is decoded.
         /// </summary>
         /// <remarks>
         ///     <para>The event handler will be executed on an internal thread.</para>
index 11e16ee..8b03b54 100644 (file)
@@ -40,12 +40,12 @@ namespace Tizen.Multimedia
         private PlayerDisplayMode _displayMode = PlayerDisplayMode.LetterBox;
 
         /// <summary>
-        /// Set/Get Display mode.
+        /// Gets or sets the <see cref="PlayerDisplayMode"/>.
         /// </summary>
         /// <exception cref="InvalidOperationException">
-        /// The display is not assigned.
-        /// <para>-or-</para>
-        /// Operation failed; internal error.
+        ///     The display is not assigned.\n
+        ///     -or-\n
+        ///     Operation failed; internal error.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The player already has been disposed of.</exception>
         /// <exception cref="ArgumentException">The specified value to set is invalid.</exception>
@@ -74,13 +74,13 @@ namespace Tizen.Multimedia
         private bool _isVisible = true;
 
         /// <summary>
-        ///
+        /// Gets or sets the value indicating whether the display is visible.
         /// </summary>
         /// <value></value>
         /// <exception cref="InvalidOperationException">
-        /// The display is not assigned.
-        /// <para>-or-</para>
-        /// Operation failed; internal error.
+        ///     The display is not assigned.\n
+        ///     -or-\n
+        ///     Operation failed; internal error.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The player already has been disposed of.</exception>
         public bool IsVisible
@@ -106,13 +106,16 @@ namespace Tizen.Multimedia
         private PlayerDisplayRotation _rotation = PlayerDisplayRotation.RotationNone;
 
         /// <summary>
-        /// Set/Get Display rotation.
+        /// Gets or sets the rotation of the display.
         /// </summary>
-        /// <value> RotationNone, Rotation90, Rotation180, Rotation270 </value>
+        /// <value><see cref="PlayerDisplayRotation.RotationNone"/>,
+        ///     <see cref="PlayerDisplayRotation.Rotation90"/>,
+        ///     <see cref="PlayerDisplayRotation.Rotation180"/>,
+        ///     <see cref="PlayerDisplayRotation.Rotation270"/></value>
         /// <exception cref="InvalidOperationException">
-        /// The display is not assigned.
-        /// <para>-or-</para>
-        /// Operation failed; internal error.
+        ///     The display is not assigned.\n
+        ///     -or-\n
+        ///     Operation failed; internal error.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The player already has been disposed of.</exception>
         /// <exception cref="ArgumentException">The specified value to set is invalid.</exception>
@@ -145,11 +148,11 @@ namespace Tizen.Multimedia
         /// To set roi, <see cref="Mode"/> must be set to <see cref="PlayerDisplayMode.Roi"/> first.
         /// </remarks>
         /// <exception cref="InvalidOperationException">
-        /// The display is not assigned.
-        /// <para>-or-</para>
-        /// Operation failed; internal error.
-        /// <para>-or-</para>
-        /// <see cref="Mode"/> is not set to <see cref="PlayerDisplayMode.Roi"/>
+        ///     The display is not assigned.\n
+        ///     -or-\n
+        ///     Operation failed; internal error.\n
+        ///     -or-\n
+        ///     <see cref="Mode"/> is not set to <see cref="PlayerDisplayMode.Roi"/>
         /// </exception>
         /// <exception cref="ObjectDisposedException">The player already has been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">width or height is less than or equal to zero.</exception>
index 7d1e9d2..142fdac 100644 (file)
@@ -54,13 +54,13 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Initial state, unprepared.
         /// </summary>
-        /// <see cref="Player.Unprepare"/>
+        /// <seealso cref="Player.Unprepare"/>
         Idle = 1,
 
         /// <summary>
         /// Prepared.
         /// </summary>
-        /// <see cref="Player.PrepareAsync"/>
+        /// <seealso cref="Player.PrepareAsync"/>
         Ready,
 
         /// <summary>
@@ -221,6 +221,9 @@ namespace Tizen.Multimedia
     /// <seealso cref="Player.PlaybackInterrupted"/>
     public enum PlaybackInterruptionReason
     {
+        /// <summary>
+        /// Interrupted by a resource conflict and the <see cref="Player"/> will be unprepared, automatically.
+        /// </summary>
         ResourceConflict = 4
     }
 
@@ -230,11 +233,34 @@ namespace Tizen.Multimedia
     /// <seealso cref="StreamInfo.GetMetadata(StreamMetadataKey)"/>
     public enum StreamMetadataKey
     {
+        /// <summary>
+        /// Album.
+        /// </summary>
         Album,
+
+        /// <summary>
+        /// Artists.
+        /// </summary>
         Artist,
+
+        /// <summary>
+        /// Author.
+        /// </summary>
         Author,
+
+        /// <summary>
+        /// Genre.
+        /// </summary>
         Genre,
+
+        /// <summary>
+        /// Title.
+        /// </summary>
         Title,
+
+        /// <summary>
+        /// Year.
+        /// </summary>
         Year
     }
 }
index 30b7a06..6e72e95 100644 (file)
@@ -23,7 +23,7 @@ namespace Tizen.Multimedia
     public class PlayerErrorOccurredEventArgs : EventArgs
     {
         /// <summary>
-        /// Initialize a new instance of the PlayerErrorOccurredEventArgs class.
+        /// Initializes a new instance of the PlayerErrorOccurredEventArgs class.
         /// </summary>
         /// <param name="error">The value indicating what kind of error occurred.</param>
         public PlayerErrorOccurredEventArgs(PlayerError error)
index 6388437..fb68e67 100644 (file)
@@ -68,9 +68,9 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="Player"/> that this instance belongs to has been disposed.</exception>
         /// <exception cref="InvalidOperationException">The <see cref="Player"/> that this instance belongs to is not in the valid state.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     index is less than zero.
-        ///     <para>-or-</para>
-        ///     index is equal to or greater than <see cref="GetCount()"/>
+        ///     <paramref name="index"/> is less than zero.\n
+        ///     -or-\n
+        ///     <paramref name="index"/> is equal to or greater than <see cref="GetCount()"/>
         /// </exception>
         public string GetLanguageCode(int index)
         {
@@ -133,9 +133,9 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="Player"/> that this instance belongs to has been disposed.</exception>
         /// <exception cref="InvalidOperationException">The <see cref="Player"/> that this instance belongs to is not in the valid state.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     index is less than zero.
-        ///     <para>-or-</para>
-        ///     index is equal to or greater than <see cref="GetCount()"/>
+        ///     <paramref name="index"/> is less than zero.\n
+        ///     -or-\n
+        ///     <paramref name="index"/> is equal to or greater than <see cref="GetCount()"/>
         /// </exception>
         public void SetSelected(int index)
         {
index 092df0f..7826f88 100644 (file)
@@ -82,7 +82,7 @@ namespace Tizen.Multimedia
             BitRate = bitRate;
             Size = size;
             Log.Debug(PlayerLog.Tag, "fps : " + fps + ", bitrate : " + bitRate +
-                ", width : " + size.Width + ", height : "+ size.Height);
+                ", width : " + size.Width + ", height : " + size.Height);
         }
         /// <summary>
         /// Initialize a new instance of the VideoStreamProperties struct with the specified fps, bit rate, width and height.
@@ -128,9 +128,8 @@ namespace Tizen.Multimedia
         }
     }
 
-
     /// <summary>
-    /// Provides means to retrieve stream information
+    /// Provides means to retrieve stream information.
     /// </summary>
     public class StreamInfo
     {
@@ -149,9 +148,7 @@ namespace Tizen.Multimedia
         {
             Player.ValidatePlayerState(PlayerState.Ready, PlayerState.Playing, PlayerState.Paused);
 
-            int size;
-            IntPtr art;
-            NativePlayer.GetAlbumArt(Player.Handle, out art, out size).
+            NativePlayer.GetAlbumArt(Player.Handle, out var art, out var size).
                 ThrowIfFailed("Failed to get the album art");
 
             if (art == IntPtr.Zero || size == 0)
@@ -210,7 +207,6 @@ namespace Tizen.Multimedia
             return GetCodecInfo(false);
         }
 
-
         /// <summary>
         /// Gets the duration.
         /// </summary>
index d37ae43..0f1bee8 100644 (file)
@@ -29,14 +29,13 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Gets the he duration of the updated subtitle.
+        /// Gets the duration of the updated subtitle.
         /// </summary>
         public uint Duration { get; }
 
         /// <summary>
         /// Gets the text of the updated subtitle.
         /// </summary>
-        /// <value> string </value>
         public string Text { get; }
 
         public override string ToString()
index a68e130..daa545d 100644 (file)
@@ -23,7 +23,7 @@ namespace Tizen.Multimedia
     public class VideoFrameDecodedEventArgs : EventArgs
     {
         /// <summary>
-        /// Initialize a new instance of the VideoFrameDecodedEventArgs class.
+        /// Initializes a new instance of the VideoFrameDecodedEventArgs class.
         /// </summary>
         internal VideoFrameDecodedEventArgs(MediaPacket packet)
         {
index db7312f..ea54f34 100644 (file)
@@ -27,7 +27,7 @@ namespace Tizen.Multimedia
     {
 
         /// <summary>
-        /// Initialize a new instance of the VideoStreamChangedEventArgs class.
+        /// Initializes a new instance of the VideoStreamChangedEventArgs class.
         /// </summary>
         internal VideoStreamChangedEventArgs(int height, int width, int fps, int bitRate)
         {
index ea67a8f..d27d196 100644 (file)
@@ -53,13 +53,12 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Metadata extractor constructor
+        /// Initializes a new instance of the <see cref="MetadataEditor"/> class with the specified path.
         /// </summary>
         /// <param name="path"> The path of the media file to edit metadata </param>
         /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
-        /// <exception cref="OutOfMemoryException">Memory allocation failed.</exception>
-        /// <exception cref="NotSupportedException">Unsupported file type</exception>
-        /// <exception cref="FileNotFoundException">File not exist</exception>
+        /// <exception cref="NotSupportedException">The file is unsupported format.</exception>
+        /// <exception cref="System.IO.FileNotFoundException">The file does not exist.</exception>
         public MetadataEditor(string path)
         {
             if (path == null)
@@ -371,11 +370,11 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Append the picture to the media file
+        /// Appends the picture to the media file.
         /// </summary>
-        /// <param name="path"> The path of picture for adding to the metadata </param>
-        /// <exception cref="InvalidOperationException"> When internal process error is occured</exception>
-        /// <exception cref="ArgumentNullException"> Picture path is null</exception>
+        /// <param name="path">The path of picture for adding to the metadata.</param>
+        /// <exception cref="InvalidOperationException">Internal error occurs.</exception>
+        /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
         public void AddPicture(string path)
         {
             if (path == null)
@@ -388,7 +387,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Remove the picture from the media file
+        /// Removes the picture from the media file.
         /// </summary>
         /// <param name="index"> Index of picture to remove </param>
         /// <exception cref="InvalidOperationException"> When internal process error is occured</exception>
index de79fd9..4dba9cf 100644 (file)
@@ -22,7 +22,7 @@ namespace Tizen.Multimedia
     public class Artwork
     {
         /// <summary>
-        /// Initialize a new instance of the Artwork class with the specified data and mimeType.
+        /// Initializes a new instance of the Artwork class with the specified data and mimeType.
         /// </summary>
         /// <param name="data">The data of the artwork to set metadata.</param>
         /// <param name="mimeType">The mime type of the data of the artwork.</param>
index 977e84c..c9eb9f8 100644 (file)
@@ -152,7 +152,7 @@ namespace Tizen.Multimedia
         public string StreamCount { get; }
 
         /// <summary>
-        /// Audio codec type
+        /// Gets the audio codec type.
         /// </summary>
         public string Codec { get; }
 
index c5bcdbb..2c0dc00 100644 (file)
@@ -52,7 +52,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Initialize a new instance of the MetadataExtractor class with the specified path.
+        /// Initializes a new instance of the MetadataExtractor class with the specified path.
         /// </summary>
         /// <param name="path">The path for the file to extract metadata.</param>
         /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
@@ -68,7 +68,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Initialize a new instance of the MetadataExtractor class with the specified buffer.
+        /// Initializes a new instance of the MetadataExtractor class with the specified buffer.
         /// </summary>
         /// <param name="buffer">The buffer to extract metadata.</param>
         /// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception>
@@ -117,7 +117,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Retrieves the <see cref="Metadata"/>.
         /// </summary>
-        /// <returns>A <see cref="Metadata"/> for the give source.</returns>
+        /// <returns>A <see cref="Metadata"/> for the given source.</returns>
         /// <exception cref="InvalidOperationException">Internal process error is occurred.</exception>
         /// <exception cref="ObjectDisposedException">The <see cref="MetadataExtractor"/> has been already disposed of.</exception>
         public Metadata GetMetadata()
index d5c971d..7d9b68f 100644 (file)
@@ -33,12 +33,12 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// The lyrics of the index
+        /// The text representation of the lyrics.
         /// </summary>
         public string Lyrics { get; }
 
         /// <summary>
-        /// The time information of the index
+        /// The time information of the lyrics.
         /// </summary>
         public uint Timestamp { get; }
     }
index 80e39c5..1a01ecb 100644 (file)
@@ -29,17 +29,17 @@ namespace Tizen.Multimedia
             Height = height;
         }
         /// <summary>
-        /// The thumbnail data
+        /// The thumbnail data.
         /// </summary>
         public byte[] Thumbnail { get; }
 
         /// <summary>
-        /// The width of the thumbnail
+        /// The width of the thumbnail.
         /// </summary>
         public int Width { get; }
 
         /// <summary>
-        /// The height of the thumbnail
+        /// The height of the thumbnail.
         /// </summary>
         public int Height { get; }
     }
index 3de3b18..2482c62 100644 (file)
@@ -22,17 +22,17 @@ namespace Tizen.Multimedia
     public enum BarcodeDetectionTarget
     {
         /// <summary>
-        /// 1D and 2D
+        /// 1D and 2D.
         /// </summary>
         All,
 
         /// <summary>
-        /// 1D barcode only
+        /// 1D barcode only.
         /// </summary>
         Barcode1D,
 
         /// <summary>
-        /// 2D barcode only
+        /// 2D barcode only.
         /// </summary>
         Barcode2D,
     }
index 8430537..ff41fd1 100644 (file)
@@ -56,7 +56,7 @@ namespace Tizen.Multimedia
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> already has been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> already has been disposed of.
         /// </exception>
         /// <seealso cref="Barcode"/>
index 6ccbbb4..aa417c2 100644 (file)
@@ -57,7 +57,7 @@ namespace Tizen.Multimedia
         private Color _foregroundColor = Color.Black;
 
         /// <summary>
-        /// Sets or gets the foreground color of the barcode to be generated.
+        /// Gets or sets the foreground color of the barcode to be generated.
         /// </summary>
         /// <remarks>
         /// The alpha value of the color will be ignored.
@@ -79,7 +79,7 @@ namespace Tizen.Multimedia
         private Color _backgroundColor = Color.White;
 
         /// <summary>
-        /// Sets or gets the background color of the barcode to be generated.
+        /// Gets or sets the background color of the barcode to be generated.
         /// </summary>
         /// <remarks>
         /// The alpha value of the color will be ignored.
index cec752b..2c200a3 100644 (file)
@@ -63,12 +63,12 @@ namespace Tizen.Multimedia
         /// <returns><see cref="MediaVisionSource"/> containing the generated QR image.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="qrConfig"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains characters which are illegal by the <see cref="QrMode"/>.
         ///     </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -91,17 +91,17 @@ namespace Tizen.Multimedia
         /// </remarks>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="qrConfig"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains characters which are illegal by the <see cref="QrMode"/>.
         /// </exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <see cref="BarcodeGenerationConfiguration.TextVisibility"/> is the <see cref="Visibility.Visible"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException"><paramref name="config"/> already has been disposed of.</exception>
@@ -135,11 +135,11 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="message"/> is null.</exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is <see cref="BarcodeType.QR"/>.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is invalid.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains illegal characters.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -158,11 +158,11 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="message"/> is null.</exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is <see cref="BarcodeType.QR"/>.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is invalid.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains illegal characters.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -212,14 +212,14 @@ namespace Tizen.Multimedia
         /// <param name="imageConfig">The <see cref="BarcodeImageConfiguration"/> that contains information about the file to be generated.</param>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="messsage"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="qrConfig"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageConfig"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains characters which are illegal by the <see cref="QrMode"/>.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to write a file.</exception>
@@ -245,20 +245,20 @@ namespace Tizen.Multimedia
         /// <param name="config">The configuration of the barcode generator. This value can be null.</param>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="messsage"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="qrConfig"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageConfig"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains characters which are illegal by the <see cref="QrMode"/>.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to write a file.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <see cref="BarcodeGenerationConfiguration.TextVisibility"/> is the <see cref="Visibility.Visible"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException"><paramref name="config"/> already has been disposed of.</exception>
@@ -291,16 +291,16 @@ namespace Tizen.Multimedia
         ///     information about the file to be generated.</param>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="messsage"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageConfig"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is <see cref="BarcodeType.QR"/>.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is invalid.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains illegal characters.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to write a file.</exception>
@@ -320,16 +320,16 @@ namespace Tizen.Multimedia
         /// <param name="config">The configuration of the barcode generator. This value can be null.</param>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="messsage"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageConfig"/> is null.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="message"/> is too long.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is <see cref="BarcodeType.QR"/>.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="type"/> is invalid.
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="message"/> contains illegal characters.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to write a file.</exception>
index be055ee..182aa29 100644 (file)
@@ -35,7 +35,7 @@ namespace Tizen.Multimedia
         /// <param name="imageFormat">The format of the output image.</param>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     The width of <paramref name="size"/> is less than or equal to zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     The height of <paramref name="size"/> is less than or equal to zero.
         /// </exception>
         /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
@@ -82,7 +82,7 @@ namespace Tizen.Multimedia
         /// <param name="imageFormat">The format of the output image.</param>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="width"/> is less than or equal to zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="height"/> is less than or equal to zero.
         /// </exception>
         /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
@@ -111,7 +111,7 @@ namespace Tizen.Multimedia
         public int Height => Size.Height;
 
         /// <summary>
-        /// Gets the path to the file that has to be generated
+        /// Gets the path to the file that has to be generated.
         /// </summary>
         /// <remarks>
         /// The mediastorage privilege http://tizen.org/privilege/mediastorage is needed if image path is relevant to media storage.\n
@@ -120,7 +120,7 @@ namespace Tizen.Multimedia
         public string Path { get; }
 
         /// <summary>
-        /// Gets the format of the output image
+        /// Gets the format of the output image.
         /// </summary>
         public BarcodeImageFormat Format { get; }
     }
index f1cf187..21a0846 100644 (file)
@@ -23,15 +23,15 @@ namespace Tizen.Multimedia
     public enum BarcodeImageFormat
     {
         /// <summary>
-        /// BMP image format
+        /// BMP image format.
         /// </summary>
         Bmp,
         /// <summary>
-        /// JPEG image format
+        /// JPEG image format.
         /// </summary>
         Jpeg,
         /// <summary>
-        /// PNG image format
+        /// PNG image format.
         /// </summary>
         Png
     }
index fedb11a..1a8b6ce 100644 (file)
@@ -40,7 +40,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Sets or gets the face detection haarcascade xml file for face detection.
+        /// Gets or sets the face detection haarcascade xml file for face detection.
         /// </summary>
         /// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
         public string ModelFilePath
@@ -119,18 +119,18 @@ namespace Tizen.Multimedia
         private Rectangle? _roi;
 
         /// <summary>
-        /// Sets or gets the roi of the face detection.
+        /// Gets or sets the roi of the face detection.
         /// </summary>
         /// <remarks>
         /// Default value is null (the roi will be a full image) can be changed to specify the roi for face detection.
         /// </remarks>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     The width of <paramref name="value"/> is less than or equal to zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     The height of <paramref name="value"/> is less than or equal to zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     The x position of <paramref name="value"/> is lsss than zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     The y position of <paramref name="value"/> is lsss than zero.\n
         /// </exception>
         public Rectangle? Roi
index c04167e..64a7ef7 100644 (file)
@@ -35,7 +35,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     The format of <paramref name="source"/> is not supported.
         /// </exception>
         public static async Task<Rectangle[]> DetectAsync(MediaVisionSource source)
index d482245..759fb7b 100644 (file)
@@ -49,7 +49,7 @@ namespace Tizen.Multimedia
         /// <exception cref="FileNotFoundException"><paramref name="modelPath"/> is invalid.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="modelPath"/> is not supported format.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to access the specified file.</exception>
@@ -142,11 +142,11 @@ namespace Tizen.Multimedia
         /// <param name="source">The <see cref="MediaVisionSource"/> that contains face image.</param>
         /// <param name="label">The label that identifies face for which example is adding.
         ///     Specify the same labels for the face images of a single person when calling this method.
-        ///     Has to be unique for each face</param>
+        ///     Has to be unique for each face.</param>
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="FaceRecognitionModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been dispose of.
         /// </exception>
         /// <seealso cref="Learn(FaceRecognitionConfiguration)"/>
@@ -166,12 +166,12 @@ namespace Tizen.Multimedia
         /// <param name="source">The <see cref="MediaVisionSource"/> that contains face image.</param>
         /// <param name="label">The label that identifies face for which example is adding.
         ///     Specify the same labels for the face images of a single person when calling this method.
-        ///     Has to be unique for each face</param>
+        ///     Has to be unique for each face.</param>
         /// <param name="area">The rectangular region of the face image at the source image.</param>
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="FaceRecognitionModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been dispose of.
         /// </exception>
         /// <seealso cref="Learn(FaceRecognitionConfiguration)"/>
@@ -246,7 +246,7 @@ namespace Tizen.Multimedia
         /// <param name="config">The configuration used for learning of the recognition models. This value can be null.</param>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="FaceRecognitionModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="InvalidOperationException">No examples added.</exception>
index b3af289..3a58bde 100644 (file)
@@ -45,7 +45,7 @@ namespace Tizen.Multimedia
         public Rectangle? Area { get; }
 
         /// <summary>
-        /// The confidence of the recognition_model that face has been recognized correctly (value from 0.0 to 1.0).
+        /// The confidence of the recognition model that face has been recognized correctly (value from 0.0 to 1.0).
         /// No faces were recognized if confidence was 0.0. When model has been learned on large amount of examples,
         /// threshold for this value can be high (0.85-0.95). If model was learned for small amount of examples,
         /// then threshold can be reduced (0.5-0.85).
index d00ffb3..3595f0e 100644 (file)
@@ -35,7 +35,7 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="recognitionModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -56,7 +56,7 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="recognitionModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -77,13 +77,13 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="recognitionModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="InvalidOperationException"><paramref name="recognitionModel"/> is untrained model.</exception>
@@ -105,13 +105,13 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="recognitionModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="InvalidOperationException"><paramref name="recognitionModel"/> is untrained model.</exception>
@@ -222,7 +222,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
@@ -280,7 +280,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
index e83a932..2dbb541 100644 (file)
@@ -34,16 +34,16 @@ namespace Tizen.Multimedia
         /// <param name="trackingModel">The model will be used for tracking.</param>
         /// <param name="doLearn">The value indicating whether model learning while tracking. If it is true then model will try to learn
         /// (if it supports learning feature), otherwise model will be not learned during the invoking tracking iteration.
-        /// Learning process improves tracking correctness, but can decrease tracking performance</param>
+        /// Learning process improves tracking correctness, but can decrease tracking performance.</param>
         /// <returns>A task that represents the asynchronous tracking operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> is null.
         /// </exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> has already been disposed of.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
index 07816cc..aa5bc8d 100644 (file)
@@ -48,7 +48,7 @@ namespace Tizen.Multimedia
         /// <exception cref="FileNotFoundException"><paramref name="modelPath"/> is invalid.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="modelPath"/> is not supported format.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to access the specified file.</exception>
@@ -98,7 +98,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="FaceTrackingModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already bean disposed of.
         /// </exception>
         public void Prepare(MediaVisionSource source, Quadrangle region)
index f7b4a74..bffb513 100644 (file)
@@ -39,7 +39,7 @@ namespace Tizen.Multimedia
         public Quadrangle Region { get; }
 
         /// <summary>
-        /// The confidence of the tracking_model that new location of the face was determined correctly
+        /// The confidence of the tracking model that new location of the face was determined correctly
         /// (value from 0.0 to 1.0). If no location was determined during last track iteration, then value is 0.0.
         /// </summary>
         public double Confidence { get; }
index d66effc..998f55d 100644 (file)
@@ -48,7 +48,7 @@ namespace Tizen.Multimedia
         /// <exception cref="FileNotFoundException"><paramref name="path"/> is invalid.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="path"/> is not supported file.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to access the specified file.</exception>
@@ -80,13 +80,15 @@ namespace Tizen.Multimedia
         /// </value>
         /// <exception cref="ObjectDisposedException">The <see cref="ImageObject"/> has already been disposed of.</exception>
         /// <seealso cref="ImageFillConfiguration"/>
-        /// <seealso cref="Fill(MediaVisionSource, ImageFillConfiguration, Rectangle?)"/>
+        /// <seealso cref="Fill(MediaVisionSource)"/>
+        /// <seealso cref="Fill(MediaVisionSource, ImageFillConfiguration)"/>
+        /// <seealso cref="Fill(MediaVisionSource, Rectangle)"/>
+        /// <seealso cref="Fill(MediaVisionSource, ImageFillConfiguration, Rectangle)"/>
         public double RecognitionRate
         {
             get
             {
-                double rate = 0;
-                InteropImage.GetRecognitionRate(Handle, out rate).Validate("Failed to get recognition rate");
+                InteropImage.GetRecognitionRate(Handle, out var rate).Validate("Failed to get recognition rate");
                 return rate;
             }
         }
@@ -96,14 +98,13 @@ namespace Tizen.Multimedia
         /// Gets the label for the image object.
         /// </summary>
         /// <returns>
-        /// The label value; or null if the <see cref="ImageObject"/> has no label.
+        /// The label value if the <see cref="ImageObject"/> has label, otherwise null.
         /// </returns>
         /// <exception cref="ObjectDisposedException">The <see cref="ImageObject"/> has already been disposed of.</exception>
         /// <seealso cref="SetLabel(int)"/>
         public int? GetLabel()
         {
-            int label = 0;
-            var ret = InteropImage.GetLabel(Handle, out label);
+            var ret = InteropImage.GetLabel(Handle, out var label);
 
             if (ret == MediaVisionError.NoData)
             {
@@ -131,7 +132,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="ImageObject"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been disposed of.
         /// </exception>
         public void Fill(MediaVisionSource source)
@@ -148,9 +149,9 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="ImageObject"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         public void Fill(MediaVisionSource source, ImageFillConfiguration config)
@@ -167,7 +168,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="ImageObject"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been disposed of.\n
         /// </exception>
         public void Fill(MediaVisionSource source, Rectangle rect)
@@ -185,9 +186,9 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="ImageObject"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         public void Fill(MediaVisionSource source, ImageFillConfiguration config, Rectangle rect)
index e75cf6c..9f4c85f 100644 (file)
@@ -149,7 +149,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="ImageRecognitionConfiguration"/> already has been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="value"/> is less than zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="value"/> is greater than one.
         /// </exception>
         public double RequiredMatchingPart
@@ -179,7 +179,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="ImageRecognitionConfiguration"/> already has been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="value"/> is less than zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="value"/> is greater than one.
         /// </exception>
         public double TolerantPartMatchError
index 169da6a..aa0954a 100644 (file)
@@ -34,9 +34,9 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageObjects"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageObjects"/> contains null reference.
         /// </exception>
         /// <exception cref="ArgumentException"><paramref name="imageObjects"/> has no elements.(The length is zero.)</exception>
@@ -57,16 +57,16 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous recognition operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageObjects"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageObjects"/> contains null elements.
         /// </exception>
         /// <exception cref="ArgumentException"><paramref name="imageObjects"/> has no elements.(The length is zero.)</exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         public static async Task<IEnumerable<ImageRecognitionResult>> RecognizeAsync(MediaVisionSource source,
index 01c22c3..4127b26 100644 (file)
@@ -34,13 +34,13 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous tracking operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> has already been disposed of.
         /// </exception>
         /// <exception cref="ArgumentException"><paramref name="trackingModel"/> has no target.</exception>
@@ -60,15 +60,15 @@ namespace Tizen.Multimedia
         /// <returns>A task that represents the asynchronous tracking operation.</returns>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> is null.
         /// </exception>
         /// <exception cref="NotSupportedException">The feature is not supported.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     <paramref name="source"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="trackingModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="ArgumentException"><paramref name="trackingModel"/> has no target.</exception>
index 50b3b7f..587cbe5 100644 (file)
@@ -99,7 +99,7 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <value>
         /// Relative offset value, for which the object offset is expected (relative to the object size in the current frame).\n
-        /// the default is 0.
+        /// The default is 0.
         /// </value>
         /// <exception cref="ObjectDisposedException">The <see cref="ImageTrackingConfiguration"/> already has been disposed of.</exception>
         public double ExpectedOffset
@@ -125,7 +125,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="ImageTrackingConfiguration"/> already has been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="value"/> is less than zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="value"/> is greater than one.
         /// </exception>
         public double StabilizationAccelaration
@@ -171,8 +171,8 @@ namespace Tizen.Multimedia
         /// <value>
         /// It is component of tolerant shift which will be ignored by stabilization process.
         /// (this value is relative to the object size in the current frame).
-        /// Tolerant shift will be computed like R * S + C, where R - value set to MV_IMAGE_TRACKING_STABLIZATION_TOLERANT_SHIFT,
-        /// S - area of object location on frame, C - constant value equal 1.3.\n
+        /// Tolerant shift will be computed like R * S + C, where R is the value set to <see cref="StabilizationTolerantShift"/>,
+        /// S is the area of object location on frame, C is a constant value 1.3.\n
         /// \n
         /// The default is 0.00006.
         /// </value>
index 6b9c1e9..d1c1bd5 100644 (file)
@@ -48,7 +48,7 @@ namespace Tizen.Multimedia
         /// <exception cref="FileNotFoundException"><paramref name="modelPath"/> is invalid.</exception>
         /// <exception cref="NotSupportedException">
         ///     The feature is not supported.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="modelPath"/> is not supported format.
         /// </exception>
         /// <exception cref="UnauthorizedAccessException">No permission to access the specified file.</exception>
@@ -75,7 +75,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="imageObject"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="ImageTrackingModel"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="imageObject"/> has already been disposed of.
         /// </exception>
         public void SetTarget(ImageObject imageObject)
index a0581c0..aa7d285 100644 (file)
@@ -109,7 +109,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="buffer"/> has no element.(The length is zero.)\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="colorspace"/> is invalid.
         /// </exception>
         public MediaVisionSource(byte[] buffer, uint width, uint height, Colorspace colorspace)
index bb7db95..6292394 100644 (file)
@@ -19,14 +19,14 @@ using System;
 namespace Tizen.Multimedia
 {
     /// <summary>
-    /// Represents concrete EngineConfig for creation of video surveillance systems.
+    /// Represents a configuration of <see cref="MovementDetector"/>.
     /// </summary>
     public class MovementDetectionConfiguration : SurveillanceEngineConfiguration
     {
         private const string KeyThreshold = "MV_SURVEILLANCE_MOVEMENT_DETECTION_THRESHOLD";
 
         /// <summary>
-        /// Represents a configuration of <see cref="MovementDetector"/>.
+        /// A read-only field that represents the default value of <see cref="Threshold"/>.
         /// </summary>
         public static readonly int DefaultThreshold = 10;
 
@@ -53,7 +53,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">The <see cref="MovementDetectionConfiguration"/> already has been disposed of.</exception>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="value"/> is less than zero.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="value"/> is greater than 255.
         /// </exception>
         public int Threshold
index d03072c..cd9994b 100644 (file)
@@ -100,7 +100,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="MovementDetector"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <see cref="SurveillanceSource.Push(MediaVisionSource)"/>
index 51fbd22..3599383 100644 (file)
@@ -105,7 +105,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="PersonAppearanceDetector"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <see cref="SurveillanceSource.Push(MediaVisionSource)"/>
index f6cd077..da4a82d 100644 (file)
@@ -96,12 +96,12 @@ namespace Tizen.Multimedia
         /// <param name="config">The config for the <paramref name="source"/>.</param>
         /// <exception cref="ArgumentNullException">
         ///     <paramref name="source"/> is null.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> is null.
         /// </exception>
         /// <exception cref="ObjectDisposedException">
         ///     The <see cref="PersonRecognizer"/> has already been disposed of.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="config"/> has already been disposed of.
         /// </exception>
         /// <exception cref="ArgumentException">
index 817dedb..fdcf571 100644 (file)
@@ -34,12 +34,12 @@ namespace Tizen.Multimedia
         /// </code>
         /// <exception cref="ArgumentOutOfRangeException">
         ///     <paramref name="version"/> is less than 1.\n
-        ///     - or -\n
+        ///     -or-\n
         ///     <paramref name="version"/> is greater than 40.
         /// </exception>
         /// <exception cref="ArgumentException">
         ///     <paramref name="qrMode"/> is invalid.\n
-        ///     - or -
+        ///     -or-
         ///     <paramref name="ecc"/> is invalid.
         /// </exception>
         public QrConfiguration(QrMode qrMode, ErrorCorrectionLevel ecc, int version)
index ec0e562..4e2bd61 100644 (file)
@@ -23,10 +23,11 @@ namespace Tizen.Multimedia
     /// </summary>
     public class Quadrangle
     {
+
         /// <summary>
-        /// The constructor of the Quadrangle class
+        /// Initialize a new instance of the <see cref="Quadrangle"/> class with an array of <see cref="Point"/>.
         /// </summary>
-        /// <remarks><paramref name="points"/> must have 4 elements</remarks>
+        /// <remarks><paramref name="points"/> must have 4 elements.</remarks>
         /// <param name="points">four points that define object bounding quadrangle.</param>
         /// <exception cref="ArgumentException">The Length of <paramref name="points"/> is not 4.</exception>
         public Quadrangle(Point[] points)
index 47b189f..a71d382 100644 (file)
@@ -59,7 +59,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Sets and gets ROI (Region Of Interest) to the event trigger
+        /// Sets and gets ROI (Region Of Interest).
         /// </summary>
         /// <exception cref="ObjectDisposedException">The <see cref="SurveillanceEngine"/> has already been disposed of.</exception>
         public Point[] Roi
index e093386..8c77d94 100644 (file)
@@ -66,7 +66,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Initialize a new instance of the <see cref="Display"/> class with a <see cref="MediaView"/> class.
+        /// Initializes a new instance of the <see cref="Display"/> class with a <see cref="MediaView"/> class.
         /// </summary>
         /// <feature>http://tizen.org/feature/multimedia.raw_video</feature>
         /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
@@ -76,7 +76,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Initialize a new instance of the <see cref="Display"/> class with a <see cref="Window"/> class.
+        /// Initializes a new instance of the <see cref="Display"/> class with a <see cref="Window"/> class.
         /// </summary>
         public Display(Window window) : this(DisplayType.Overlay, window)
         {
index ddca032..f1f3f72 100644 (file)
@@ -20,6 +20,9 @@ using System.Runtime.InteropServices;
 
 namespace Tizen.Multimedia
 {
+    /// <summary>
+    /// Provides functionality to read a media buffer.
+    /// </summary>
     public interface IReadOnlyBuffer
     {
         /// <summary>
@@ -27,8 +30,8 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <param name="index">The index of the value to get or set.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     index is less than zero.
-        ///     <para>-or-</para>
+        ///     index is less than zero.\n
+        ///     -or-\n
         ///     index is equal to or greater than <see cref="Length"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The object that owns the current buffer already has been disposed of.</exception>
@@ -49,7 +52,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Copies data from a byte array to the buffer.
         /// </summary>
-        /// <param name="source">The array to copy from.</param>
+        /// <param name="dest">The array to copy to.</param>
         /// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
         /// <param name="length">The number of array elements to copy.</param>
         /// <exception cref="ArgumentOutOfRangeException">startIndex or length is not valid.</exception>
@@ -59,7 +62,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Copies data from a byte array to the buffer.
         /// </summary>
-        /// <param name="source">The array to copy from.</param>
+        /// <param name="dest">The array to copy to.</param>
         /// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
         /// <param name="length">The number of array elements to copy.</param>
         /// <param name="offset">The zero-based index in the buffer where copying should start.</param>
@@ -68,12 +71,15 @@ namespace Tizen.Multimedia
         void CopyTo(byte[] dest, int startIndex, int length, int offset);
     }
 
+    /// <summary>
+    /// Provides functionality to read and write a media buffer.
+    /// </summary>
     public interface IMediaBuffer : IReadOnlyBuffer
     {
         /// <summary>
         /// Copies data from the buffer to a byte array.
         /// </summary>
-        /// <param name="dest">The array to copy to.</param>
+        /// <param name="source">The array to copy from.</param>
         /// <param name="startIndex">The zero-based index in the dest array where copying should start.</param>
         /// <param name="length">The number of elements to copy.</param>
         /// <exception cref="ArgumentOutOfRangeException">startIndex or length is not valid.</exception>
@@ -85,7 +91,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Copies data from the buffer to a byte array.
         /// </summary>
-        /// <param name="dest">The array to copy to.</param>
+        /// <param name="source">The array to copy from.</param>
         /// <param name="startIndex">The zero-based index in the dest array where copying should start.</param>
         /// <param name="length">The number of elements to copy.</param>
         /// <param name="offset">The zero-based index in the buffer where copying should start.</param>
@@ -142,8 +148,8 @@ namespace Tizen.Multimedia
         /// <param name="offset"></param>
         /// <param name="length"></param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     offset + length is greater than <see cref="Length"/>.
-        ///     <para>-or-</para>
+        ///     offset + length is greater than <see cref="Length"/>.\n
+        ///     -or-\n
         ///     offset or length is less than zero.
         /// </exception>
         private void ValidateRange(int offset, int length)
index 11d19c6..97e6d07 100644 (file)
 namespace Tizen.Multimedia
 {
     /// <summary>
-    /// Enumeration to text attribute
+    /// Specifies visibilities.
     /// </summary>
     public enum Visibility
     {
         /// <summary>
-        /// Invisible
+        /// Invisible.
         /// </summary>
         Invisible,
         /// <summary>
-        /// Visible
+        /// Visible.
         /// </summary>
         Visible
     }
index d4225cd..5a2092b 100755 (executable)
@@ -210,7 +210,7 @@ namespace Tizen.Multimedia
         }
 
         /// <summary>
-        /// Initializes a new instance of the VideoMediaFormat class with the specified mime type, width and height.
+        /// Initializes a new instance of the VideoMediaFormat class with the specified mime type and size.
         /// </summary>
         /// <param name="mimeType">The mime type of the format.</param>
         /// <param name="size">The size of the format.</param>
@@ -271,7 +271,7 @@ namespace Tizen.Multimedia
 
         /// <summary>
         /// Initializes a new instance of the VideoMediaFormat class with the specified mime type,
-        /// width, height, frame rate and bit rate.
+        /// size, frame rate and bit rate.
         /// </summary>
         /// <param name="mimeType">The mime type of the format.</param>
         /// <param name="size">The size of the format.</param>
@@ -454,9 +454,10 @@ namespace Tizen.Multimedia
         /// <param name="sampleRate">The sample rate value of the format.</param>
         /// <param name="bit">The bit value of the format.</param>
         /// <param name="bitRate">The bit rate value of the format.</param>
-        /// <exception cref="ArgumentException">mimeType is invalid(i.e. undefined value).</exception>
+        /// <exception cref="ArgumentException"><paramref name="mimeType"/> is invalid(i.e. undefined value).</exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///                     channel, sampleRate, bit or bitRate is less than zero.</exception>
+        ///     <paramref name="channel"/>, <paramref name="sampleRate"/>, <paramref name="bit"/> or <paramref name="bitRate"/> is less than zero.
+        /// </exception>
         public AudioMediaFormat(MediaFormatAudioMimeType mimeType,
             int channel, int sampleRate, int bit, int bitRate)
         : this(mimeType, channel, sampleRate, bit, bitRate, MediaFormatAacType.None)
@@ -474,12 +475,13 @@ namespace Tizen.Multimedia
         /// <param name="bitRate">The bit rate value of the format.</param>
         /// <param name="aacType">The AAC bitstream format(ADIF or ADTS).</param>
         /// <exception cref="ArgumentException">
-        ///     mimeType or aacType is invalid(i.e. undefined value).
-        ///     <para>- or -</para>
-        ///     aacType is not <see cref="MediaFormatAacType.None"/>, but mimeType is one of aac types.
+        ///     <paramref name="mimeType"/> or <paramref name="aacType"/> is invalid(i.e. undefined value).\n
+        ///     -or-\n
+        ///     <paramref name="aacType"/> is not <see cref="MediaFormatAacType.None"/>, but <paramref name="mimeType"/> is one of aac types.
         ///     </exception>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///                     channel, sampleRate, bit or bitRate is less than zero.</exception>
+        ///     <paramref name="channel"/>, <paramref name="sampleRate"/>, <paramref name="bit"/> or <paramref name="bitRate"/> is less than zero.
+        /// </exception>
         public AudioMediaFormat(MediaFormatAudioMimeType mimeType,
             int channel, int sampleRate, int bit, int bitRate, MediaFormatAacType aacType)
             : base(MediaFormatType.Audio)
index 4008484..55196a4 100755 (executable)
@@ -65,21 +65,6 @@ namespace Tizen.Multimedia
     public enum MediaFormatAudioMimeType
     {
         /// <summary>
-        /// L16, Audio.
-        /// </summary>.
-        //L16 = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x1010),
-
-        /// <summary>
-        /// ALAW, Audio.
-        /// </summary>
-        //ALaw = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x1020),
-
-        /// <summary>
-        /// ULAW, Audio.
-        /// </summary>
-        //ULaw = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x1030),
-
-        /// <summary>
         /// AMR, Alias for <see cref="AmrNB"/>.
         /// </summary>
         Amr = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x1040),
@@ -158,56 +143,6 @@ namespace Tizen.Multimedia
         /// PCM.
         /// </summary>
         Pcm = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1510),
-
-        /// <summary>
-        /// PCM signed 16-bit little-endian, Audio
-        /// </summary>
-        //PcmS16LE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1510),
-
-        /// <summary>
-        /// PCM signed 24-bit little-endian, Audio
-        /// </summary>
-        //PcmS24LE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1511),
-
-        /// <summary>
-        /// PCM signed 32-bit little-endian, Audio
-        /// </summary>
-        //Pcm32LE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1512),
-
-        /// <summary>
-        /// PCM signed 16-bit big-endian, Audio
-        /// </summary>
-        //PcmS16BE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1513),
-
-        /// <summary>
-        /// PCM signed 24-bit big-endian, Audio
-        /// </summary>
-        //PcmS24BE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1514),
-
-        /// <summary>
-        /// PCM signed 32-bit big-endian, Audio
-        /// </summary>
-        //PcmS32BE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1515),
-
-        /// <summary>
-        /// PCM 32-bit floating point little-endian, Audio
-        /// </summary>
-        //PcmF32LE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1516),
-
-        /// <summary>
-        /// PCM 32-bit floating point big-endian, Audio
-        /// </summary>
-        //PcmF32BE = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1517),
-
-        /// <summary>
-        /// PCM A-law, Audio
-        /// </summary>
-        //PcmALaw = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1520),
-
-        /// <summary>
-        /// PCM U-law, Audio
-        /// </summary>
-        //PcmULaw = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1530),
     }
 
     /// <summary>
@@ -231,52 +166,7 @@ namespace Tizen.Multimedia
         H263P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2021),
 
         /// <summary>
-        /// H263 Baseline Profile
-        /// </summary>
-        //H263BP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2022),
-
-        /// <summary>
-        /// H263 H.320 Coding Efficiency Profile
-        /// </summary>
-        //H263H320Cep = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2023),
-
-        /// <summary>
-        /// H263 Backward-Compatibility Profile
-        /// </summary>
-        //H263Bcp = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2024),
-
-        /// <summary>
-        /// H263 Interactive and Streaming Wireless Profile
-        /// </summary>
-        //H263Isw2p = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2025),
-
-        /// <summary>
-        /// H263 Interactive and Streaming Wireless Profile
-        /// </summary>
-        //H263Isw3p = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2026),
-
-        /// <summary>
-        /// H263 Conversation High Compression Profile
-        /// </summary>
-        //H263Chcp = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2027),
-
-        /// <summary>
-        /// H263 Conversational Internet Profile
-        /// </summary>
-        //H263CInternetP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2028),
-
-        /// <summary>
-        /// H263 Conversational Interlace Profile
-        /// </summary>
-        //H263CInterlaceP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2029),
-
-        /// <summary>
-        /// H263 High Latency Profile
-        /// </summary>
-        //H263Hlp = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x202A),
-
-        /// <summary>
-        /// H264_SP.
+        /// H264_SP
         /// </summary>
         H264SP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2030),
 
@@ -291,32 +181,7 @@ namespace Tizen.Multimedia
         H264HP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2032),
 
         /// <summary>
-        /// H264 Extended Profile
-        /// </summary>
-        //H264XP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2033),
-
-        /// <summary>
-        /// H264 High10 Profile
-        /// </summary>
-        //H264H10P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2034),
-
-        /// <summary>
-        /// H264 High422 Profile
-        /// </summary>
-        //H264H422P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2035),
-
-        /// <summary>
-        /// H264 High444 Profile
-        /// </summary>
-        //H264H444P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2036),
-
-        /// <summary>
-        /// H264 CAVLC444 Profile
-        /// </summary>
-        //H264C444P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2037),
-
-        /// <summary>
-        /// MJPEG.
+        /// MJPEG
         /// </summary>
         MJpeg = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2040),
 
@@ -351,37 +216,7 @@ namespace Tizen.Multimedia
         Mpeg4Asp = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2071),
 
         /// <summary>
-        /// HEVC
-        /// </summary>
-        //Hevc = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2080),
-
-        /// <summary>
-        /// HEVC Main Profile
-        /// </summary>
-        //HevcMP = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2081),
-
-        /// <summary>
-        /// HEVC Main10 Profile
-        /// </summary>
-        //HevcM10P = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2082),
-
-        /// <summary>
-        /// VP8
-        /// </summary>
-        //VP8 = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2090),
-
-        /// <summary>
-        /// VP9
-        /// </summary>
-        //VP9 = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x20A0),
-
-        /// <summary>
-        /// VC1
-        /// </summary>
-        //VC1 = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x20B0),
-
-        /// <summary>
-        /// I420.
+        /// I420
         /// </summary>
         I420 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x2510),
 
index 8705e40..ffecc12 100644 (file)
@@ -282,8 +282,8 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentOutOfRangeException">
         ///     The value specified for this property is less than zero or greater than <see cref="MediaPacketBuffer.Length"/>.</exception>
         /// <exception cref="InvalidOperationException">
-        ///     The MediaPacket has <see cref="VideoPlanes"/> instead of <see cref="Buffer"/>.
-        ///     <para>-or-</para>
+        ///     The MediaPacket has <see cref="VideoPlanes"/> instead of <see cref="Buffer"/>.\n
+        ///     -or-\n
         ///     The MediaPacket is not in writable state which means it being used by another module.
         ///     </exception>
         public int BufferWrittenLength
index d85c0d8..49b9caf 100644 (file)
@@ -45,8 +45,8 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <param name="index">The index of the value to get or set.</param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     index is less than zero.
-        ///     <para>-or-</para>
+        ///     index is less than zero.\n
+        ///     -or-\n
         ///     index is equal to or greater than <see cref="Length"/>.
         /// </exception>
         /// <exception cref="ObjectDisposedException">The MediaPacket that owns the current buffer already has been disposed of.</exception>
@@ -78,8 +78,8 @@ namespace Tizen.Multimedia
         /// <param name="offset"></param>
         /// <param name="length"></param>
         /// <exception cref="ArgumentOutOfRangeException">
-        ///     offset + length is greater than <see cref="Length"/>.
-        ///     <para>-or-</para>
+        ///     offset + length is greater than <see cref="Length"/>.\n
+        ///     -or-\n
         ///     offset or length is less than zero.
         /// </exception>
         private void ValidateRange(int offset, int length)
index 14c26c8..7c1bf05 100644 (file)
@@ -28,7 +28,7 @@ namespace Tizen.Multimedia
     public enum MediaPacketBufferFlags
     {
         /// <summary>
-        /// The buffer contains codec initialization or codec specific data instead of media data
+        /// The buffer contains codec initialization or codec specific data instead of media data.
         /// </summary>
         CodecConfig = 0x1,