Implement Flush action. It will be used when user
want to ensure the Lottie property changed applied sequencly.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
public static extern int AnimatedVectorImageVisualActionJumpToGet();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_AnimatedVectorImageVisual_Actions_SET_DYNAMIC_PROPERTY_get")]
public static extern int AnimatedVectorImageVisualActionJumpToGet();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_AnimatedVectorImageVisual_Actions_SET_DYNAMIC_PROPERTY_get")]
- public static extern int AnimatedVectorImageVisualActionSetDynamicProperty();
+ public static extern int AnimatedVectorImageVisualActionSetDynamicPropertyGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_AnimatedVectorImageVisual_Actions_FLUSH_get")]
+ public static extern int AnimatedVectorImageVisualActionFlushGet();
internal static readonly int ActionJumpTo = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet();
// This is used for internal purpose.
internal static readonly int ActionJumpTo = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet();
// This is used for internal purpose.
- internal static readonly int ActionSetDynamicProperty = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicProperty();
+ internal static readonly int ActionSetDynamicProperty = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicPropertyGet();
+ internal static readonly int ActionFlush = Interop.LottieAnimationView.AnimatedVectorImageVisualActionFlushGet();
internal class VisualEventSignalArgs : EventArgs
{
internal class VisualEventSignalArgs : EventArgs
{
+
+ internal void FlushLottieMessages()
+ {
+ NUILog.Debug($"<[{GetId()}]FLUSH>");
+
+ Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionFlush);
+ }