public partial class AnimatedImageView : ImageView
{
#region Internal
+ /// <summary>
+ /// Actions property value to Jump to the specified frame.
+ /// </summary>
+ internal static readonly int ActionJumpTo = Interop.AnimatedImageView.AnimatedImageVisualActionJumpToGet();
#endregion Internal
#region Private
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimatedImageView() : base()
{
- ActionPlay = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet();
- ActionPause = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet();
- ActionStop = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet();
}
/// <summary>
return ret;
}
}
-
- /// <summary>
- /// Actions property value to Jump to the specified frame.
- /// This property can be redefined by child class if it use different value.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionJumpTo { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionJumpToGet();
#endregion Property
#region Method
/// <summary>
/// Actions property value for Reload image.
/// </summary>
- private int ActionReload { get; set; } = Interop.ImageView.ImageVisualActionReloadGet();
+ internal static readonly int ActionReload = Interop.ImageView.ImageVisualActionReloadGet();
/// <summary>
/// Actions property value to Play animated images.
- /// This property can be redefined by child class if it use different value.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionPlay { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet();
+ internal static readonly int ActionPlay = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet();
/// <summary>
/// Actions property value to Pause animated images.
- /// This property can be redefined by child class if it use different value.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionPause { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet();
+ internal static readonly int ActionPause = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet();
/// <summary>
/// Actions property value to Stop animated images.
- /// This property can be redefined by child class if it use different value.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionStop { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet();
+ internal static readonly int ActionStop = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet();
internal VisualFittingModeType ConvertFittingModetoVisualFittingMode(FittingModeType value)
{
/// <since_tizen> 7 </since_tizen>
public LottieAnimationView(float scale = 1.0f, bool shown = true) : base()
{
- ActionPlay = Interop.LottieAnimationView.AnimatedVectorImageVisualActionPlayGet();
- ActionPause = Interop.LottieAnimationView.AnimatedVectorImageVisualActionPauseGet();
- ActionStop = Interop.LottieAnimationView.AnimatedVectorImageVisualActionStopGet();
-
NUILog.Debug($"< constructor GetId={GetId()} >");
currentStates.url = "";
currentStates.loopCount = 1;
return currentStates.redrawInScalingDown;
}
}
-
-
- /// <summary>
- /// Actions property value to Jump to the specified frame.
- /// This property can be redefined by child class if it use different value.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionJumpTo { get; set; } = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet();
-
- // This is used for internal purpose. hidden API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionSetDynamicProperty { get; set; } = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicProperty();
#endregion Property
#region Internal
+ /// <summary>
+ /// Actions property value to Jump to the specified frame.
+ /// </summary>
+ internal static readonly int ActionJumpTo = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet();
+
+ // This is used for internal purpose.
+ internal static readonly int ActionSetDynamicProperty = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicProperty();
+
internal class VisualEventSignalArgs : EventArgs
{
public int VisualIndex
/// <summary>
/// Actions property value to update visual property.
/// Note : Only few kind of properies can be update. Update with invalid property action is undefined.
- /// This property can be redefined by child class if it use different value.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected int ActionUpdateProperty { get; set; } = Interop.Visual.GetActionUpdateProperty();
+ internal static readonly int ActionUpdateProperty = Interop.Visual.GetActionUpdateProperty();
internal enum PropertyRange
{