AnimationParameterBuilders.AnimationParameters


@RequiresSchemaVersion(major = 1, minor = 200)
public final class AnimationParameterBuilders.AnimationParameters


Animation specs of duration, easing and repeat delay.

Summary

Public methods

@IntRange(from = 0) long

Gets animation delay in millis.

@IntRange(from = 0) long

Gets the duration of the animation in milliseconds.

@Nullable AnimationParameterBuilders.Easing

Gets the easing to be used for adjusting an animation's fraction.

@NonNull String

Public methods

getDelayMillis

Added in 1.0.0
public @IntRange(from = 0) long getDelayMillis()

Gets animation delay in millis. When used outside repeatable, this is the delay to start the animation in milliseconds. When set inside repeatable, this is the delay before repeating animation in milliseconds.

getDurationMillis

Added in 1.0.0
public @IntRange(from = 0) long getDurationMillis()

Gets the duration of the animation in milliseconds.

getEasing

Added in 1.0.0
public @Nullable AnimationParameterBuilders.Easing getEasing()

Gets the easing to be used for adjusting an animation's fraction.

toString

public @NonNull String toString()