From: Seoyeon Kim Date: Wed, 22 Feb 2023 13:42:58 +0000 (+0900) Subject: [NUI] Add ShowInsideFridge function for Accessibility X-Git-Tag: submit/tizen_6.0/20230222.142042~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08efb6db8f8fecbb4502ca3fcc5e29d0ca2374b8;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add ShowInsideFridge function for Accessibility - ShowInsideFridge() can tell which app is at the top of the layer. Signed-off-by: Seoyeon Kim --- diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs index 5187f73bc..152ff649b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs @@ -98,6 +98,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_IsEnabled")] public static extern bool IsEnabled(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_ShowInsideFridge")] + public static extern void ShowInsideFridge(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_FocusChangedSignal")] public static extern global::System.IntPtr AccessibilityManager_FocusChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1); diff --git a/src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs b/src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs index 23e19d39a..4031d83bf 100755 --- a/src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs +++ b/src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs @@ -883,6 +883,17 @@ namespace Tizen.NUI.Accessibility return ret; } + /// + /// Checks whether Inside Fridge is shown or not. + /// + /// True if Inside Fridge is shown. + [EditorBrowsable(EditorBrowsableState.Never)] + public void ShowInsideFridge(bool isShown) + { + Interop.AccessibilityManager.ShowInsideFridge(swigCPtr, isShown); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + /// Queries whether EnableAccessibility() is called and Accessibility is enabled forcibly or not. /// This API is only used for internal checks. internal bool IsForcedEnable()