public final class

ModifiersBuilders.FadeInTransition.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.FadeInTransition.Builder

Overview

Builder for ModifiersBuilders.FadeInTransition

Summary

Constructors
publicBuilder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods
public ModifiersBuilders.FadeInTransitionbuild()

Builds an instance from accumulated values.

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

Sets the animation parameters for duration, delay, etc.

public ModifiersBuilders.FadeInTransition.BuildersetInitialAlpha(float initialAlpha)

Sets the starting alpha of the fade in 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.FadeInTransition.Builder setInitialAlpha(float initialAlpha)

Sets the starting alpha of the fade in transition. It should be between 0 and 1. If not set, defaults to fully transparent, i.e. 0.

Sets the animation parameters for duration, delay, etc.

Builds an instance from accumulated values.