[NUI] Deprecated Animation.Stop(EndActions)
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 8 May 2023 23:53:50 +0000 (08:53 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 31 May 2023 05:47:13 +0000 (14:47 +0900)
That API change the 'EndAction' property.
And also, EndAction input parameter will not works well if

 - It's value is EndActions.Discard
 - Already finished animation

So, we'd better guide to app developer to use EndAction property
instead of Stop(EndActions) API.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/Animation/Animation.cs

index e7ef801..d4039cc 100755 (executable)
@@ -702,12 +702,16 @@ namespace Tizen.NUI
         /// <summary>
         /// Stops the animation. It will change this animation's EndAction property.
         /// </summary>
-        /// <remark>
-        /// Change the value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.<br />
-        /// If you want to stop by EndActions.Discard, EndAction property also should be EndActions.Discard before Play API called.
-        /// </remark>
+        /// <remarks>
+        /// Change the value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.<br/>
+        /// If you want to stop by EndActions.Discard, EndAction property also should be EndActions.Discard before Play API called. <br/>
+        /// <br/>
+        /// This method is deprecated since API11 because EndActions property concept is not matched with Stop(). <br/>
+        /// Use <see cref="EndAction"/> property instead.
+        /// </remarks>
         /// <param name="action">The end action can be set.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated in API11, will be removed in API13. Use EndAction property instead.")]
         public void Stop(EndActions action)
         {
             SetEndAction(action);