[NUI.Gadget] Change API version to API10 (#4959)
authorhjhun <36876573+hjhun@users.noreply.github.com>
Thu, 2 Feb 2023 05:40:24 +0000 (14:40 +0900)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 05:40:24 +0000 (14:40 +0900)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadget.cs
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetInfo.cs
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetLifecycleChangedEventArgs.cs
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetLifecycleState.cs
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetType.cs

index 242b837..8f04a00 100755 (executable)
@@ -24,7 +24,7 @@ namespace Tizen.NUI
     /// <summary>
     /// This class represents a NUIGadget controlled lifecycles.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public abstract class NUIGadget
     {
@@ -32,7 +32,7 @@ namespace Tizen.NUI
         /// Initializes the gadget.
         /// </summary>
         /// /// <param name="type">The type of the NUIGadget.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadget(NUIGadgetType type)
         {
             Type = type;
@@ -44,7 +44,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the class representing information of the current gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadgetInfo NUIGadgetInfo
         {
             internal set;
@@ -54,7 +54,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the type.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadgetType Type
         {
             internal set;
@@ -64,7 +64,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the class name.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string ClassName
         {
             internal set;
@@ -74,7 +74,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the main view.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public View MainView
         {
             internal set;
@@ -84,7 +84,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the lifecycle state.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadgetLifecycleState State
         {
             internal set;
@@ -163,7 +163,7 @@ namespace Tizen.NUI
         /// If 'base.OnCreate()' is not called, the event 'NUIGadgetLifecycleChanged' with  the 'NUIGadgetLifecycleState.Created' state will not be emitted.
         /// </summary>
         /// <returns>The main view object.</returns>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual Tizen.NUI.BaseComponents.View OnCreate()
         {
             State = NUIGadgetLifecycleState.Created;
@@ -175,7 +175,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the gadget receives the appcontrol message.
         /// </summary>
         /// <param name="e">The appcontrol received event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnAppControlReceived(AppControlReceivedEventArgs e)
         {
         }
@@ -184,7 +184,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the gadget is destroyed.
         /// If 'base.OnDestroy()' is not called. the event 'NUIGadgetLifecycleChanged' with the 'NUIGadgetLifecycleState.Destroyed' state will not be emitted.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnDestroy()
         {
             State = NUIGadgetLifecycleState.Destroyed;
@@ -195,7 +195,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the gadget is paused.
         /// If 'base.OnPause()' is not called. the event 'NUIGadgetLifecycleChanged' with the 'NUIGadgetLifecycleState.Paused' state will not be emitted.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnPause()
         {
             State = NUIGadgetLifecycleState.Paused;
@@ -206,7 +206,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the gadget is resumed.
         /// If 'base.OnResume()' is not called. the event 'NUIGadgetLifecycleChanged' with the 'NUIGadgetLifecycleState.Resumed' state will not be emitted.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnResume()
         {
             State = NUIGadgetLifecycleState.Resumed;
@@ -217,7 +217,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the system language is changed.
         /// </summary>
         /// <param name="e">The locale changed event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnLocaleChanged(LocaleChangedEventArgs e)
         {
         }
@@ -226,7 +226,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the system battery is low.
         /// </summary>
         /// <param name="e">The low batter event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnLowBattery(LowBatteryEventArgs e)
         {
         }
@@ -235,7 +235,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the system memory is low.
         /// </summary>
         /// <param name="e">The low memory event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnLowMemory(LowMemoryEventArgs e)
         {
         }
@@ -244,7 +244,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the region format is changed.
         /// </summary>
         /// <param name="e">The region format changed event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
         {
         }
@@ -253,7 +253,7 @@ namespace Tizen.NUI
         /// Overrides this method if want to handle behavior when the device orientation is changed.
         /// </summary>
         /// <param name="e">The device orientation changed event argument.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         protected virtual void OnDeviceOrientationChanged(DeviceOrientationEventArgs e)
         {
         }
@@ -261,7 +261,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Finishes the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public void Finish()
         {
             Pause();
index 2ad9799..fec436f 100755 (executable)
@@ -26,7 +26,7 @@ namespace Tizen.NUI
     /// <summary>
     /// This class provides properties to get information the gadget.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class NUIGadgetInfo
     {
@@ -50,25 +50,25 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the package ID of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string PackageId { get; private set; }
 
         /// <summary>
         /// Gets the resource type of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string ResourceType { get; private set; }
 
         /// <summary>
         /// Gets the resource version of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string ResourceVersion { get; private set; }
 
         /// <summary>
         /// Gets the resource path of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string ResourcePath
         {
             get
@@ -92,13 +92,13 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the executable file of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public string ExecutableFile { get; internal set; }
 
         /// <summary>
         /// Gets the metadata of the gadget.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public IDictionary<string, string> Metadata { get; private set; }
 
         internal static NUIGadgetInfo CreateNUIGadgetInfo(string packageId)
index adc6bba..2db245c 100755 (executable)
@@ -22,20 +22,20 @@ namespace Tizen.NUI
     /// <summary>
     /// Arguments for the event raised when the NUIGadget lifecycle is changed.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class NUIGadgetLifecycleChangedEventArgs : EventArgs
     {
         /// <summary>
         /// The NUIGadget object.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadget Gadget { get; internal set; }
 
         /// <summary>
         /// The state of the NUIGadget lifecycle.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public NUIGadgetLifecycleState State { get; internal set; }
     }
 }
index ad5a1e0..ae3373d 100755 (executable)
@@ -21,7 +21,7 @@ namespace Tizen.NUI
     /// <summary>
     /// Enumeration for the lifecycle state of the NUIGadget.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public  enum NUIGadgetLifecycleState
     {
@@ -29,35 +29,35 @@ namespace Tizen.NUI
         /// The initialized state.
         /// This state is set when the gadget is initialized. The constructor of the NUIGadget is called.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Initialized = 0,
 
         /// <summary>
         /// The created state.
         /// This state is set when the gadget is created. The 'OnCreate()' method of the NUIGadget is called.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Created = 1,
 
         /// <summary>
         /// The resumed state.
         /// This state is set when the gadget is resumed. The 'OnResume()' method of the NUIGadget is called.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Resumed = 2,
 
         /// <summary>
         /// The paused state.
         /// This state is set when the gadget is paused. The 'OnPause()' method of the NUIGadget is called.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Paused = 3,
 
         /// <summary>
         /// The destroyed state.
         /// This state is set when the gadget is destroyed. The 'OnDestroy()' method of the NUIGadget is called.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Destroyed = 4,
     }
 }
index 5b943a4..0220ebd 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI
     /// <summary>
     /// This class has the methods and events of the NUIGadgetManager.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public static class NUIGadgetManager
     {
@@ -101,7 +101,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Occurs when the lifecycle of the NUIGadget is changed.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static event EventHandler<NUIGadgetLifecycleChangedEventArgs> NUIGadgetLifecycleChanged;
 
         private static void OnNUIGadgetLifecycleChanged(object sender, NUIGadgetLifecycleChangedEventArgs args)
@@ -123,7 +123,7 @@ namespace Tizen.NUI
         /// <returns>The NUIGadget object.</returns>
         /// <exception cref="ArgumentException">Thrown when failed because of a invalid argument.</exception>
         /// <exception cref="InvalidOperationException">Thrown when failed because of an invalid operation.</exception>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static NUIGadget Add(string resourceType, string className)
         {
             if (!_gadgetInfos.TryGetValue(resourceType, out NUIGadgetInfo info))
@@ -165,7 +165,7 @@ namespace Tizen.NUI
         /// Gets the information of the running NUIGadgets.
         /// </summary>
         /// <returns>The NUIGadget list.</returns>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static IEnumerable<NUIGadget> GetGadgets()
         {
             return _gadgets;
@@ -175,7 +175,7 @@ namespace Tizen.NUI
         /// Removes the NUIGadget from a NUIGadgetManager.
         /// </summary>
         /// <param name="gadget">The NUIGadget object.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static void Remove(NUIGadget gadget)
         {
             if (gadget == null || !_gadgets.Contains(gadget))
@@ -198,7 +198,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Removes all NUIGadget from a NUIGadgetManager.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static void RemoveAll()
         {
             for (int i = _gadgets.Count - 1;  i >= 0; i--)
@@ -211,7 +211,7 @@ namespace Tizen.NUI
         /// Resumes the running NUIGadget.
         /// </summary>
         /// <param name="gadget">The NUIGadget object.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static void Resume(NUIGadget gadget)
         {
             if (!_gadgets.Contains(gadget))
@@ -230,7 +230,7 @@ namespace Tizen.NUI
         /// Pauses the running NUIGadget.
         /// </summary>
         /// <param name="gadget">The NUIGadget object.</param>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         public static void Pause(NUIGadget gadget)
         {
             if (!_gadgets.Contains(gadget))
@@ -252,6 +252,7 @@ namespace Tizen.NUI
         /// <param name="appControl">The appcontrol object.</param>
         /// <exception cref="ArgumentException">Thrown when failed because of a invalid argument.</exception>
         /// <exception cref="ArgumentNullException">Thrown when failed because the argument is null.</exception>
+        /// <since_tizen> 10 </since_tizen>
         public static void SendAppControl(NUIGadget gadget, AppControl appControl)
         {
             if (gadget == null)
index 66fa82f..1e78109 100755 (executable)
@@ -21,20 +21,20 @@ namespace Tizen.NUI
     /// <summary>
     /// Enumeration for the type of the NUIGadget.
     /// </summary>
-    /// <since_tizen> 11 </since_tizen>
+    /// <since_tizen> 10 </since_tizen>
     [EditorBrowsable(EditorBrowsableState.Never)]
     public enum NUIGadgetType
     {
         /// <summary>
         /// The normal type.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Normal = 0,
 
         /// <summary>
         /// The popup type.
         /// </summary>
-        /// <since_tizen> 11 </since_tizen>
+        /// <since_tizen> 10 </since_tizen>
         Popup = 1,
     }
 }