public final class

AnimationParameterBuilders.Repeatable

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.AnimationParameterBuilders.Repeatable

Overview

The repeatable mode to be used for specifying how many times animation will be repeated.

Summary

Fields
public static final AnimationParameterBuilders.RepeatableINFINITE_REPEATABLE_WITH_RESTART

An infinite AnimationParameterBuilders.Repeatable where animation restarts from the beginning when repeated.

public static final AnimationParameterBuilders.RepeatableINFINITE_REPEATABLE_WITH_REVERSE

An infinite AnimationParameterBuilders.Repeatable where animation is played in reverse when repeated.

Methods
public static AnimationParameterBuilders.RepeatablefromProto(AnimationParameterProto.Repeatable proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public AnimationParameterBuilders.AnimationParametersgetForwardRepeatOverride()

Gets optional custom parameters for the forward passes of animation.

public intgetIterations()

Gets the number specifying how many times animation will be repeated.

public intgetRepeatMode()

Gets the repeat mode to specify how animation will behave when repeated.

public AnimationParameterBuilders.AnimationParametersgetReverseRepeatOverride()

Gets optional custom parameters for the reverse passes of animation.

public booleanhasInfiniteIteration()

Returns true if the animation has indefinite repeat.

public AnimationParameterProto.RepeatabletoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final AnimationParameterBuilders.Repeatable INFINITE_REPEATABLE_WITH_RESTART

An infinite AnimationParameterBuilders.Repeatable where animation restarts from the beginning when repeated.

public static final AnimationParameterBuilders.Repeatable INFINITE_REPEATABLE_WITH_REVERSE

An infinite AnimationParameterBuilders.Repeatable where animation is played in reverse when repeated.

Methods

public int getIterations()

Gets the number specifying how many times animation will be repeated. this method can only be called if AnimationParameterBuilders.Repeatable.hasInfiniteIteration() is false.

public boolean hasInfiniteIteration()

Returns true if the animation has indefinite repeat.

public int getRepeatMode()

Gets the repeat mode to specify how animation will behave when repeated.

public AnimationParameterBuilders.AnimationParameters getForwardRepeatOverride()

Gets optional custom parameters for the forward passes of animation.

public AnimationParameterBuilders.AnimationParameters getReverseRepeatOverride()

Gets optional custom parameters for the reverse passes of animation.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()