Table of Contents

Class AnimationDrawable

Namespace
Android.Graphics.Drawable
Assembly
MASES.Netdroid.dll
public class AnimationDrawable : DrawableContainer, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAnimatable, IRunnable
Inheritance
AnimationDrawable
Implements
Inherited Members
Extension Methods

Constructors

AnimationDrawable()

public AnimationDrawable()

AnimationDrawable(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AnimationDrawable(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddFrame(Drawable, int)

public void AddFrame(Drawable arg0, int arg1)

Parameters

arg0 Drawable

Drawable

arg1 int

int

CreatePoolableInstance()

HPA initializer for AnimationDrawable()

public static AnimationDrawable CreatePoolableInstance()

Returns

AnimationDrawable

GetDuration(int)

public int GetDuration(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetFrame(int)

public Drawable GetFrame(int arg0)

Parameters

arg0 int

int

Returns

Drawable

Drawable

GetNumberOfFrames()

public int GetNumberOfFrames()

Returns

int

int

IsOneShot()

public bool IsOneShot()

Returns

bool

bool

IsRunning()

public bool IsRunning()

Returns

bool

bool

Run()

public void Run()

SetOneShot(bool)

public void SetOneShot(bool arg0)

Parameters

arg0 bool

bool

Start()

public void Start()

Stop()

public void Stop()

Operators

implicit operator Animatable(AnimationDrawable)

Converter from AnimationDrawable to Animatable

public static implicit operator Animatable(AnimationDrawable t)

Parameters

t AnimationDrawable

Returns

Animatable

implicit operator Runnable(AnimationDrawable)

Converter from AnimationDrawable to Runnable

public static implicit operator Runnable(AnimationDrawable t)

Parameters

t AnimationDrawable

Returns

Runnable