public final class

AnimationParameterBuilders.AnimationSpec

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.AnimationParameterBuilders.AnimationSpec

Overview

Animation parameters that can be added to any animatable node.

Summary

Methods
public static AnimationParameterBuilders.AnimationSpecfromProto(AnimationParameterProto.AnimationSpec proto)

Creates a new wrapper instance from the proto.

public static AnimationParameterBuilders.AnimationSpecfromProto(AnimationParameterProto.AnimationSpec proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public AnimationParameterBuilders.AnimationParametersgetAnimationParameters()

Gets animation parameters including duration, easing and repeat delay.

public FingerprintgetFingerprint()

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

public AnimationParameterBuilders.RepeatablegetRepeatable()

Gets the repeatable mode to be used for specifying repetition parameters for the animation.

public AnimationParameterProto.AnimationSpectoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public AnimationParameterBuilders.AnimationParameters getAnimationParameters()

Gets animation parameters including duration, easing and repeat delay.

Gets the repeatable mode to be used for specifying repetition parameters for the animation.

public Fingerprint getFingerprint()

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

Creates a new wrapper instance from the proto.

Creates a new wrapper instance from the proto. Intended for testing purposes only. An object created using this method can't be added to any other wrapper.

Returns the internal proto instance.

public java.lang.String toString()