public final class

ModifiersBuilders.FadeOutTransition.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.FadeOutTransition.Builder

Overview

Builder for ModifiersBuilders.FadeOutTransition

Summary

Constructors
publicBuilder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods
public ModifiersBuilders.FadeOutTransitionbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.FadeOutTransition.BuildersetAnimationSpec(AnimationParameterBuilders.AnimationSpec animationSpec)

Sets the animation parameters for duration, delay, etc.

public ModifiersBuilders.FadeOutTransition.BuildersetTargetAlpha(float targetAlpha)

Sets the target alpha of the fade out transition.

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

Constructors

public Builder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods

public ModifiersBuilders.FadeOutTransition.Builder setTargetAlpha(float targetAlpha)

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

Sets the animation parameters for duration, delay, etc.

Builds an instance from accumulated values.