public final class

ModifiersBuilders.FadeOutTransition

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.FadeOutTransition

Overview

The fading animation for content transition of an element and its children, from fully visible to the specified target alpha.

Summary

Methods
public static ModifiersBuilders.FadeOutTransitionfromProto(ModifiersProto.FadeOutTransition proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public AnimationParameterBuilders.AnimationSpecgetAnimationSpec()

Gets the animation parameters for duration, delay, etc.

public FingerprintgetFingerprint()

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

public floatgetTargetAlpha()

Gets the target alpha of the fade out transition.

public ModifiersProto.FadeOutTransitiontoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public float getTargetAlpha()

Gets the target alpha of the fade out transition. It should be between 0 and 1. If not set, defaults to fully invisible, i.e. 0.

Gets the animation parameters for duration, delay, etc.

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