[Multimedia] Deprecate constructors related to ElmSharp (#4540)
authorHaesu Gwon <haesu.gwon@samsung.com>
Tue, 13 Sep 2022 02:52:03 +0000 (11:52 +0900)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 02:52:03 +0000 (11:52 +0900)
src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs
src/Tizen.Multimedia.Remoting/WebRTC/MediaStreamTrack.cs
src/Tizen.Multimedia.Remoting/WebRTC/WebRTC.Properties.cs
src/Tizen.Multimedia/Common/Display.cs

index fa133b2..d843633 100755 (executable)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-using ElmSharp;
 using System;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
@@ -581,7 +580,7 @@ namespace Tizen.Multimedia.Remoting
             return new MediaStreamTrack(WebRtc, MediaType, trackId);
         }
 
-        uint IDisplayable<uint>.ApplyEvasDisplay(DisplayType type, EvasObject evasObject)
+        uint IDisplayable<uint>.ApplyEvasDisplay(DisplayType type, ElmSharp.EvasObject evasObject)
         {
             Debug.Assert(Enum.IsDefined(typeof(DisplayType), type));
             Debug.Assert(type != DisplayType.None);
index 6a4fd4c..af49ca2 100755 (executable)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-using ElmSharp;
 using System;
 using System.Diagnostics;
 using static Interop;
@@ -103,7 +102,7 @@ namespace Tizen.Multimedia.Remoting
             }
         }
 
-        WebRTCErrorCode IDisplayable<WebRTCErrorCode>.ApplyEvasDisplay(DisplayType type, EvasObject evasObject)
+        WebRTCErrorCode IDisplayable<WebRTCErrorCode>.ApplyEvasDisplay(DisplayType type, ElmSharp.EvasObject evasObject)
         {
             Debug.Assert(Enum.IsDefined(typeof(DisplayType), type));
             Debug.Assert(type != DisplayType.None);
index d2cc86c..8bcd909 100755 (executable)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-using ElmSharp;
 using System;
 using System.Diagnostics;
 using static Interop;
index 92100aa..0f8357d 100644 (file)
@@ -100,6 +100,7 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <param name="mediaView">A <see cref="MediaView"/> to display.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated in API10; Will be removed in API12")]
         public Display(MediaView mediaView)
         {
             if (mediaView == null)
@@ -117,6 +118,7 @@ namespace Tizen.Multimedia
         /// </summary>
         /// <param name="window">A <see cref="Window"/> to display.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated in API10; Will be removed in API12")]
         public Display(Window window)
         {
             if (window == null)