Class AnimatedModelProvider

com.yandex.runtime.model

public abstract class AnimatedModelProvider

Provides the animated model data.

Methods

AnimatedModelProvider fromAnimatedModel(final AnimatedModel model)

Returns an animated model provider.

abstract String getId()

Returns the unique identifier for the model.

abstract AnimatedModel getModel()

Returns an animated model.

Method Detail

fromAnimatedModel

public static AnimatedModelProvider fromAnimatedModel (final AnimatedModel model)

Returns an animated model provider.

getId

public abstract String getId ()

Returns the unique identifier for the model.

Providers can be cached based on it.

getModel

public abstract AnimatedModel getModel ()

Returns an animated model.