[TCSACR-599][InputMethod] Deprecate RotationChanged event (#6315)
authorInhong <inhong1.han@samsung.com>
Thu, 12 Sep 2024 09:29:03 +0000 (18:29 +0900)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2024 09:29:03 +0000 (18:29 +0900)
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/RotationChangedEventArgs.cs

index 124ee94d659fe26032aea153591ef4de1988f2ab..d9e27b801ca9dfc57802e11118d049dd036c5f44 100644 (file)
@@ -1462,6 +1462,7 @@ namespace Tizen.Uix.InputMethod
         /// Called when the device is rotated.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API12. Will be removed in API14. Please use Window.Resized instead.")]
         public static event EventHandler<RotationChangedEventArgs> RotationChanged
         {
             add
index b9a966d6aa2b7d0735178058f33963ab7d98e8d8..dc3f96c07c60bba69eefb17b71868a4038797c2b 100755 (executable)
 * limitations under the License.
 */
 
+using System;
+
 namespace Tizen.Uix.InputMethod
 {
     /// <summary>
     /// This class contains the data related to the RotationChanged event.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API12. Will be removed in API14.")]
     public class RotationChangedEventArgs
     {
         internal RotationChangedEventArgs(int degree)
@@ -31,6 +34,7 @@ namespace Tizen.Uix.InputMethod
         /// The rotation degree.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API12. Will be removed in API14.")]
         public int Degree
         {
             get;