public interface

ModifiersProto.FadeOutTransitionOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.FadeOutTransitionOrBuilder

Subclasses:

ModifiersProto.FadeOutTransition, ModifiersProto.FadeOutTransition.Builder

Summary

Methods
public AnimationParameterProto.AnimationSpecgetAnimationSpec()

 The animation parameters for duration, delay, etc.

public floatgetTargetAlpha()

 The target alpha of the fade out transition.

public booleanhasAnimationSpec()

 The animation parameters for duration, delay, etc.

Methods

public float getTargetAlpha()

 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.
 
float target_alpha = 1;

Returns:

The targetAlpha.

public boolean hasAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 2;

Returns:

Whether the animationSpec field is set.

public AnimationParameterProto.AnimationSpec getAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 2;

Returns:

The animationSpec.