[MediaPlayer] Modified PlayerError.
authorcoderhyme <jhyo.kim@samsung.com>
Thu, 20 Jul 2017 07:17:51 +0000 (16:17 +0900)
committercoderhyme <jhyo.kim@samsung.com>
Mon, 31 Jul 2017 21:09:33 +0000 (06:09 +0900)
AudioCodecNotSupported, VideoCodecNotSupported are added.
Values that are not used are removed.

Change-Id: I829e971c1245bdcf5c7b9ee5c5aa77ebe03e2fc6
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
src/Tizen.Multimedia.MediaPlayer/Player/PlayerEnums.cs
src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj

index 18ad88e..efc1c1d 100644 (file)
@@ -40,25 +40,13 @@ namespace Tizen.Multimedia
         /// </summary>
         NoSpaceOnDevice = PlayerErrorCode.NoSpaceOnDevice,
 
-        //TODO must be removed.
-        /// <summary>
-        /// Not supported.
-        /// </summary>
-        FeatureNotSupported = ErrorCode.NotSupported,
-
-        //TODO must be removed.
-        /// <summary>
-        /// Permission denined.
-        /// </summary>
-        PermissionDenied = ErrorCode.PermissionDenied,
-
         /// <summary>
         /// Not enough buffer.
         /// </summary>
         BufferSpace = ErrorCode.BufferSpace,
 
         /// <summary>
-        /// <see cref="Player.SetPlayPositionAsync(int, bool)/> failed.
+        /// <see cref="Player.SetPlayPositionAsync(int, bool)"/> failed.
         /// </summary>
         SeekFailed = PlayerErrorCode.SeekFailed,
 
@@ -77,56 +65,30 @@ namespace Tizen.Multimedia
         /// </summary>
         InvalidUri = PlayerErrorCode.InvalidUri,
 
-        //TODO must be removed.
-        /// <summary>
-        /// Sound policy error.
-        /// </summary>
-        SoundPolicy = PlayerErrorCode.SoundPolicyError,
-
         /// <summary>
         /// Connection to service failed.
         /// </summary>
         ConnectionFailed = PlayerErrorCode.ConnectionFailed,
 
-        // TODO must be removed.
-        /// <summary>
-        /// Capture failed.
-        /// </summary>
-        VideoCaptureFailed = PlayerErrorCode.VideoCaptureFailed,
-
-        // TODO must be removed.
-        /// <summary>
-        /// DRM expired.
-        /// </summary>
-        DrmExpired = PlayerErrorCode.DrmExpired,
-
-        // TODO must be removed.
         /// <summary>
-        /// No license of DRM.
-        /// </summary>
-        DrmNoLicense = PlayerErrorCode.DrmNoLicense,
-
-        // TODO must be removed.
-        /// <summary>
-        /// Not used.
+        /// Not permitted DRM.
         /// </summary>
-        DrmFutureUse = PlayerErrorCode.DrmFutureUse,
+        DrmNotPermitted = PlayerErrorCode.DrmNotPermitted,
 
         /// <summary>
-        /// Not permitted DRM.
+        /// Service disconnected.
         /// </summary>
-        DrmNotPermitted = PlayerErrorCode.DrmNotPermitted,
+        ServiceDisconnected = PlayerErrorCode.ServiceDisconnected,
 
-        // TODO must be removed.
         /// <summary>
-        /// Not enough resource.
+        /// Not supported audio codec.
         /// </summary>
-        ResourceLimit = PlayerErrorCode.ResourceLimit,
+        AudioCodecNotSupported = PlayerErrorCode.NotSupportedAudioCodec,
 
         /// <summary>
-        /// Service disconnected.
+        /// Not supported video codec.
         /// </summary>
-        ServiceDisconnected = PlayerErrorCode.ServiceDisconnected,
+        VideoCodecNotSupported = PlayerErrorCode.NotSupportedVideoCodec,
 
         /// <summary>
         /// Not supported subtitle file.
index 11c6ddc..2384ca2 100644 (file)
@@ -3,7 +3,7 @@
   <Import Project="../build/build.props" />
 
   <PropertyGroup>
-    <Version>1.0.3</Version>
+    <Version>1.0.4</Version>
     <Description>Provides the Multimedia Player API for Tizen .NET</Description>
   </PropertyGroup>