[Inputmethod] Deprecated some Inputmethod APIs related to ElmSharp
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 15 Sep 2022 01:49:52 +0000 (10:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 22 Sep 2022 01:05:30 +0000 (10:05 +0900)
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs

index f36e921..8b1fc6c 100755 (executable)
@@ -25,6 +25,7 @@ namespace Tizen.Uix.InputMethod
     /// The editor window class.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12. Use NUIApplication.GetDefaultWindow() to get window in NUI application")]
     public class EditorWindow : Window
     {
         internal static IntPtr _handle = IntPtr.Zero;
@@ -41,6 +42,7 @@ namespace Tizen.Uix.InputMethod
         /// <param name="parent">Parent EvasObject.</param>
         /// <returns>Handle IntPtr.</returns>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             return _handle;
@@ -51,6 +53,7 @@ namespace Tizen.Uix.InputMethod
         /// </summary>
         /// <returns>Handle IntPtr.</returns>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public IntPtr GetHandle()
         {
             return _handle;
@@ -70,6 +73,7 @@ namespace Tizen.Uix.InputMethod
         /// <exception cref="UnauthorizedAccessException">This exception can be due to permission denied.</exception>
         /// <exception cref="InvalidOperationException">The IME main loop has not started yet.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static void SetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight)
         {
             ErrorCode error = ImeSetSize(portraitWidth, portraitHeight, landscapeWidth, landscapeHeight);
index 7ca461d..146c49b 100644 (file)
@@ -1891,6 +1891,7 @@ namespace Tizen.Uix.InputMethod
         /// 2) Operation failed.
         /// </exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static EditorWindow GetMainWindow()
         {
             EditorWindow._handle = ImeGetMainWindow();