Add KeepRendering to Window
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 31 May 2023 04:32:07 +0000 (13:32 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 8 Jun 2023 08:33:00 +0000 (17:33 +0900)
src/Tizen.NUI/src/internal/Interop/Interop.Window.cs
src/Tizen.NUI/src/public/Window/Window.cs

index 31fda4f..b52d364 100755 (executable)
@@ -325,6 +325,9 @@ namespace Tizen.NUI
 
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SendRotationCompletedAcknowledgement")]
             public static extern void SendRotationCompletedAcknowledgement(global::System.Runtime.InteropServices.HandleRef window);
+
+            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_KeepRendering")]
+            public static extern void KeepRendering(global::System.Runtime.InteropServices.HandleRef window, float durationSeconds);
         }
     }
 }
index 01e2ffd..61eeafd 100755 (executable)
@@ -1007,7 +1007,7 @@ namespace Tizen.NUI
         /// <since_tizen> 3 </since_tizen>
         public void KeepRendering(float durationSeconds)
         {
-            Interop.Stage.KeepRendering(stageCPtr, durationSeconds);
+            Interop.Window.KeepRendering(SwigCPtr, durationSeconds);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }