From 1f96c44e8310f11073073f98fcc920ee4a8b010a Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 9 May 2023 08:53:50 +0900 Subject: [PATCH] [NUI] Deprecated Animation.Stop(EndActions) 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 --- src/Tizen.NUI/src/public/Animation/Animation.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI/src/public/Animation/Animation.cs b/src/Tizen.NUI/src/public/Animation/Animation.cs index e7ef801..d4039cc 100755 --- a/src/Tizen.NUI/src/public/Animation/Animation.cs +++ b/src/Tizen.NUI/src/public/Animation/Animation.cs @@ -702,12 +702,16 @@ namespace Tizen.NUI /// /// Stops the animation. It will change this animation's EndAction property. /// - /// - /// Change the value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.
- /// If you want to stop by EndActions.Discard, EndAction property also should be EndActions.Discard before Play API called. - ///
+ /// + /// Change the value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.
+ /// If you want to stop by EndActions.Discard, EndAction property also should be EndActions.Discard before Play API called.
+ ///
+ /// This method is deprecated since API11 because EndActions property concept is not matched with Stop().
+ /// Use property instead. + ///
/// The end action can be set. /// 3 + [Obsolete("Deprecated in API11, will be removed in API13. Use EndAction property instead.")] public void Stop(EndActions action) { SetEndAction(action); -- 2.7.4