[NUI][TCSACR-503] Camera class and CameraType enum, which are not used, are deprecated
authordongsug.song <dongsug.song@samsung.com>
Wed, 31 Aug 2022 08:47:55 +0000 (17:47 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 6 Oct 2022 04:44:10 +0000 (13:44 +0900)
src/Tizen.NUI/src/internal/Common/RenderTask.cs
src/Tizen.NUI/src/internal/Utility/Camera.cs
src/Tizen.NUI/src/public/Common/NUIConstants.cs

index 937537a1ee8ffe22960571aacd9f8b989ffcf658..47b82238453bfaf6abb2b615394a4b571fb05316 100755 (executable)
@@ -199,7 +199,7 @@ namespace Tizen.NUI
             return ret;
         }
 
-        /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+        [Obsolete("Do not use this. Use Tizen.NUI.Scene3D.Camera instead.")]
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void SetCamera(Camera camera)
         {
@@ -207,7 +207,7 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+        [Obsolete("Do not use this. Use Tizen.NUI.Scene3D.Camera instead.")]
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Camera GetCamera()
         {
index 4fb02ee1bf71a54a793df07d0404aabee24b609b..abbdc4e942e22197c12d686b601b7ab366e741c9 100755 (executable)
@@ -20,7 +20,7 @@ using Tizen.NUI.BaseComponents;
 
 namespace Tizen.NUI
 {
-    /// This will be released at Tizen.NET API Level 6, so currently this would be used as inhouse API.
+    [global::System.Obsolete("Do not use this. Use Tizen.NUI.Scene3D.Camera instead.")]
     [EditorBrowsable(EditorBrowsableState.Never)]
     public partial class Camera : View
     {
index eed9837bed6365ddb6b3036f2e09e4bb4fcf180f..80f9c7db2c499ebe58aa21a37f4236ce87bc5b14 100755 (executable)
@@ -237,6 +237,7 @@ namespace Tizen.NUI
     /// Enumeration for type determination of how the camera operates.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("This has been deprecated in API10 and will be removed in API12. Do not use this.")]
     public enum CameraType
     {
         /// <summary>