public final class

AnimationParameterBuilders.AnimationParameters

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.AnimationParameterBuilders.AnimationParameters

Overview

Animation specs of duration, easing and repeat delay.

Summary

Methods
public static AnimationParameterBuilders.AnimationParametersfromProto(AnimationParameterProto.AnimationParameters proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public longgetDelayMillis()

Gets animation delay in millis.

public longgetDurationMillis()

Gets the duration of the animation in milliseconds.

public AnimationParameterBuilders.EasinggetEasing()

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

public FingerprintgetFingerprint()

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

public AnimationParameterProto.AnimationParameterstoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public long getDurationMillis()

Gets the duration of the animation in milliseconds.

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

public 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.

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()