/// </summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public SayFinishedStates State
+ public SayFinishedState State
{
private set;
get;
internal SayFinishedEventArgs(int result)
{
- State = (SayFinishedStates)(result);
+ State = (SayFinishedState)(result);
tlog.Fatal(tag, $"SayFinishedEventArgs Constructor! State={State}");
}
}
/// <summary>
/// Enum of Say finished event argument status
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("Please do not use! This will be removed. Please use Accessibility.SayFinishedState instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum SayFinishedStates
+ {
+ /// <summary>
+ /// Invalid
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Accessibility.SayFinishedState.Invalid instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Invalid = -1,
+ /// <summary>
+ /// Cancelled
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Accessibility.SayFinishedState.Invalid instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Cancelled = 1,
+ /// <summary>
+ /// Stopped
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Accessibility.SayFinishedState.Invalid instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Stopped = 2,
+ /// <summary>
+ /// Skipped
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Accessibility.SayFinishedState.Invalid instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Skipped = 3
+ }
+
+ /// <summary>
+ /// Enum of Say finished event argument status
+ /// </summary>
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum SayFinishedState
{
/// <summary>
/// Invalid
/// This specifies the various types of BuiltinFunctions.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum BuiltinFunctions
{
/// <summary>
/// This specifies which mode is set for AlphaFunction.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum Modes
{
/// <summary>
/// Enumeration for what to do when the animation ends, stopped, or destroyed.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum EndActions
{
/// <summary>
/// </summary>
/// <remarks>Calling Reset() on this class will not reset the animation. It will call the BaseHandle.Reset() which drops the object handle.</remarks>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum States
{
/// <summary>
}
mCurrentFrame = value;
- AnimationState = AnimationStates.Paused;
+ AnimationState = State.Paused;
base.SetMinMaxFrame(0, mTotalFrameNum - 1);
base.CurrentFrame = mCurrentFrame;
/// </summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public RepeatModes RepeatMode
+ public RepeatModeType RepeatMode
{
set
{
switch (mRepeatMode)
{
- case RepeatModes.Restart:
+ case RepeatModeType.Restart:
LoopingMode = LoopingModeType.Restart;
break;
- case RepeatModes.Reverse:
+ case RepeatModeType.Reverse:
LoopingMode = LoopingModeType.AutoReverse;
break;
default:
/// </summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public AnimationStates AnimationState
+ public State AnimationState
{
private set
{
}
get
{
- if (CurrentAnimationState == AnimationStates.Playing)
+ if (CurrentAnimationState == State.Playing)
{
if (PlayState == PlayStateType.Stopped)
{
- CurrentAnimationState = AnimationStates.Stopped;
+ CurrentAnimationState = State.Stopped;
}
}
return CurrentAnimationState;
}
/// <summary>
- /// A marker has its start frame and end frame.
+ /// A marker has its start frame and end frame.
/// Animation will play between the start frame and the end frame of the marker if one marker is specified.
/// Or animation will play between the start frame of the first marker and the end frame of the second marker if two markers are specified. *
/// </summary>
base.Margin = tmp;
base.Play();
- AnimationState = AnimationStates.Playing;
+ AnimationState = State.Playing;
tlog.Fatal(tag, $" [{GetId()}] mIsMinMaxSet={mIsMinMaxSet}) ]VAV END]");
}
}
base.Pause();
- AnimationState = AnimationStates.Paused;
+ AnimationState = State.Paused;
tlog.Fatal(tag, $" [{GetId()}] ]VAV END]");
}
/// </param>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public void Stop(EndActions endAction = EndActions.Cancel)
+ public void Stop(EndAction endAction = EndAction.Cancel)
{
tlog.Fatal(tag, $"[VAV START[ [{GetId()}] endAction:({endAction}), PlayState={PlayState}");
throw new InvalidOperationException("Resource Url not yet Set");
}
- if (AnimationState == AnimationStates.Stopped)
+ if (AnimationState == State.Stopped)
{
return;
}
mEndAction = endAction;
switch (endAction)
{
- case EndActions.Cancel:
+ case EndAction.Cancel:
StopBehavior = StopBehaviorType.CurrentFrame;
break;
- case EndActions.Discard:
+ case EndAction.Discard:
StopBehavior = StopBehaviorType.MinimumFrame;
break;
- case EndActions.StopFinal:
+ case EndAction.StopFinal:
StopBehavior = StopBehaviorType.MaximumFrame;
break;
default:
break;
}
}
- AnimationState = AnimationStates.Stopped;
+ AnimationState = State.Stopped;
base.Stop();
- if (endAction == EndActions.StopFinal)
+ if (endAction == EndAction.StopFinal)
{
switch (mIsMinMaxSet)
{
/// <summary>
/// RepeatMode of animation.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.RepeatModeType instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum RepeatModes
{
/// <summary>
- /// When the animation reaches the end and RepeatCount is nonZero, the animation restarts from the beginning.
+ /// When the animation reaches the end and RepeatCount is nonZero, the animation restarts from the beginning.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.RepeatModeType.Restart instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Restart = LoopingModeType.Restart,
+ /// <summary>
+ /// When the animation reaches the end and RepeatCount nonZero, the animation reverses direction on every animation cycle.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.RepeatModeType.Reverse instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Reverse = LoopingModeType.AutoReverse
+ }
+
+ /// <summary>
+ /// RepeatMode type of animation.
+ /// </summary>
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum RepeatModeType
+ {
+ /// <summary>
+ /// When the animation reaches the end and RepeatCount is nonZero, the animation restarts from the beginning.
/// </summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Restart = LoopingModeType.Restart,
/// <summary>
- /// When the animation reaches the end and RepeatCount nonZero, the animation reverses direction on every animation cycle.
+ /// When the animation reaches the end and RepeatCount nonZero, the animation reverses direction on every animation cycle.
/// </summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
/// <summary>
/// EndActions of animation.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.EndAction instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum EndActions
+ {
+ /// <summary> End action is Cancel, Animation Stops at the Current Frame.</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.EndAction.Cancel instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Cancel = 0,
+ /// <summary> End action is Discard, Animation Stops at the Min Frame</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.EndAction.Discard instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Discard = 1,
+ /// <summary> End action is StopFinal, Animation Stops at the Max Frame</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.EndAction.StopFinal instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ StopFinal = 2
+ }
+
+ /// <summary>
+ /// EndAction of animation.
+ /// </summary>
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum EndAction
{
/// <summary> End action is Cancel, Animation Stops at the Current Frame.</summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
}
/// <summary>
- /// AnimationStates of animation.
+ /// AnimationState of animation.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.State instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum AnimationStates
+ {
+ /// <summary> The animation has stopped.</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.State.Stopped instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Stopped = PlayStateType.Stopped,
+ /// <summary> The animation is playing.</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.State.Playing instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Playing = PlayStateType.Playing,
+ /// <summary> The animation is paused.</summary>
+ [Obsolete("Please do not use! This will be removed. Please use AnimatedVectorImageView.State.Paused instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Paused = PlayStateType.Paused
+ }
+
+ /// <summary>
+ /// Animation State of animation.
+ /// </summary>
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum State
{
/// <summary> The animation has stopped.</summary>
// This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
private string mResourceURL = null;
private int mRepeatCount = 0;
private int mTotalFrameNum = 0;
- private RepeatModes mRepeatMode = RepeatModes.Restart;
+ private RepeatModeType mRepeatMode = RepeatModeType.Restart;
private int mMinFrame = -1, mMaxFrame = -1;
private minMaxSetTypes mIsMinMaxSet = minMaxSetTypes.NotSetByUser;
private int mCurrentFrame = -1;
- private EndActions mEndAction = EndActions.Cancel;
+ private EndAction mEndAction = EndAction.Cancel;
private enum minMaxSetTypes
{
NotSetByUser,
}
private string tag = "NUITEST";
- private AnimationStates CurrentAnimationState = AnimationStates.Stopped;
+ private State CurrentAnimationState = State.Stopped;
#endregion Private
}
}
*
*/
+using System;
using System.ComponentModel;
using Tizen.NUI.BaseComponents;
/// <summary>
/// Enumeration for describing the states of the view.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [FlagsAttribute]
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public enum ControlStates
{
/// <summary>
/// The normal state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
Normal = 0,
/// <summary>
/// The focused state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
Focused = 1,
/// <summary>
/// The disabled state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
Disabled = 2,
/// <summary>
/// The Selected state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
Selected = 4,
/// <summary>
/// The Pressed state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
Pressed = 8,
/// <summary>
/// The DisabledFocused state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
DisabledFocused = Disabled | Focused,
/// <summary>
/// The SelectedFocused state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
SelectedFocused = Focused | Selected,
/// <summary>
/// The DisabledSelected state.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ /// This will be public opened later. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
DisabledSelected = Disabled | Selected,
}
/// Enumeration for describing the states of the view.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum States
{
/// <summary>
/// The properties that can be animated.
/// </summary>
/// <since_tizen> 6 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum AnimatableProperties
{
/// <summary>
}
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
public enum DisposeTypes
{
/// <summary>
/// <summary>
/// Enumeration for transition effect's state.
/// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectState instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum EffectStates
+ {
+ /// <summary>
+ /// None state.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectState.None instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ None = 0,
+ /// <summary>
+ /// Transition effect is started.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectState.Start instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Start,
+ /// <summary>
+ /// Transition effect is ended.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectState.End instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ End,
+ }
+
+ /// <summary>
+ /// Enumeration for transition effect's state.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum EffectState
{
/// <summary>
/// None state.
/// <summary>
/// Enumeration for transition effect's type.
/// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectType instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum EffectTypes
+ {
+ /// <summary>
+ /// None type.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectType.None instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ None = 0,
+ /// <summary>
+ /// Window show effect.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectType.Show instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Show,
+ /// <summary>
+ /// Window hide effect.
+ /// </summary>
+ [Obsolete("Please do not use! This will be removed. Please use Window.EffectType.Hide instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Hide,
+ }
+
+ /// <summary>
+ /// Enumeration for transition effect's type.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum EffectType
{
/// <summary>
/// None type.
/// <code>
/// void MyFunction( int frameId )
/// </code>
- /// This callback will be deleted once it is called.
+ /// This callback will be deleted once it is called.
/// <remarks>
/// Ownership of the callback is passed onto this class
/// </remarks>
/// <code>
/// void MyFunction( int frameId )
/// </code>
- /// This callback will be deleted once it is called.
+ /// This callback will be deleted once it is called.
/// <remarks>
/// Ownership of the callback is passed onto this class
/// </remarks>
// e.WindowSize = new Size2D(val.GetWidth(), val.GetHeight());
// val.Dispose();
- // Workaround : windowSize should be valid pointer from dali,
+ // Workaround : windowSize should be valid pointer from dali,
// but currenlty it is fixed and is not Uint16Pair class.
// will be fixed later.
e.WindowSize = this.WindowSize;
TransitionEffectEventArgs e = new TransitionEffectEventArgs();
- e.State = (EffectStates)state;
+ e.State = (EffectState)state;
- e.Type = (EffectTypes)type;
+ e.Type = (EffectType)type;
if (transitionEffectHandler != null)
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class TransitionEffectEventArgs : EventArgs
{
- private EffectStates state;
- private EffectTypes type;
+ private EffectState state;
+ private EffectType type;
/// <summary>
/// State
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public EffectStates State
+ public EffectState State
{
get
{
/// Type
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public EffectTypes Type
+ public EffectType Type
{
get
{