Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
AnimatedImageView is a class for displaying Animated-GIF and Image-Array
public class AnimatedImageView : ImageView, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
- Inheritance
-
- Implements
-
Constructors
View Source
AnimatedImageView()
Construct AnimatedImageView
Declaration
public AnimatedImageView()
Fields
Declaration
public static readonly BindableProperty BatchSizeProperty
Field Value
Declaration
public static readonly BindableProperty CacheSizeProperty
Field Value
Declaration
public static readonly BindableProperty CurrentFrameProperty
Field Value
Declaration
public static readonly BindableProperty FrameDelayProperty
Field Value
Declaration
public static readonly BindableProperty LoopCountProperty
Field Value
Declaration
public static readonly BindableProperty StopBehaviorProperty
Field Value
Properties
View Source
BatchSize
Defines the batch size for pre-loading images in the Image-Array animation.
number of images to pre-load before starting to play. Default value: 1.
Declaration
public int BatchSize { get; set; }
Property Value
View Source
CacheSize
Defines the cache size for loading images in the Image-Array animation.
number of images to keep cached ahead during playback. Default value: 1.
Declaration
public int CacheSize { get; set; }
Property Value
View Source
CurrentFrame
Set or get the current frame. When setting a specific frame, it is displayed as a still image.
Declaration
public int CurrentFrame { get; set; }
Property Value
View Source
FrameDelay
The number of milliseconds between each frame in the Image-Array animation.
The number of milliseconds between each frame.
Declaration
public int FrameDelay { get; set; }
Property Value
Declaration
public int LoopCount { get; set; }
Property Value
View Source
StopBehavior
Sets or gets the stop behavior.
Declaration
public AnimatedImageView.StopBehaviorType StopBehavior { get; set; }
Property Value
Declaration
public int TotalFrame { get; }
Property Value
Declaration
public List<string> URLs { get; }
Property Value
Methods
View Source
Dispose(DisposeTypes)
You can override it to clean-up your own resources
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
View Source
MergeCachedImageVisualProperty(PropertyMap)
Update NUI cached animated image visual property map by inputed property map.
And call base.MergeCachedImageVisualProperty()
Declaration
protected override void MergeCachedImageVisualProperty(PropertyMap map)
Parameters
Overrides
View Source
SetValues()
To make the properies be set. This should be called after the properties are set.
Declaration
View Source
UpdateImage()
Update animated-image-relative properties synchronously.
After call this API, All image properties updated.
Declaration
protected override void UpdateImage()
Overrides
Implements
Extension Methods