public interface

ModifiersProto.SlideOutTransitionOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.SlideOutTransitionOrBuilder

Subclasses:

ModifiersProto.SlideOutTransition, ModifiersProto.SlideOutTransition.Builder

Summary

Methods
public AnimationParameterProto.AnimationSpecgetAnimationSpec()

 The animation parameters for duration, delay, etc.

public ModifiersProto.SlideDirectiongetDirection()

 The slide direction used for slide animations on any element, from its
 destination in the layout to the specified point.

public intgetDirectionValue()

 The slide direction used for slide animations on any element, from its
 destination in the layout to the specified point.

public ModifiersProto.SlideBoundgetTargetSlideBound()

 The target offset for animation.

public booleanhasAnimationSpec()

 The animation parameters for duration, delay, etc.

public booleanhasTargetSlideBound()

 The target offset for animation.

Methods

public int getDirectionValue()

 The slide direction used for slide animations on any element, from its
 destination in the layout to the specified point. If not set, defaults to
 horizontal from right to the left.
 
.androidx.wear.protolayout.proto.SlideDirection direction = 1;

Returns:

The enum numeric value on the wire for direction.

public ModifiersProto.SlideDirection getDirection()

 The slide direction used for slide animations on any element, from its
 destination in the layout to the specified point. If not set, defaults to
 horizontal from right to the left.
 
.androidx.wear.protolayout.proto.SlideDirection direction = 1;

Returns:

The direction.

public boolean hasTargetSlideBound()

 The target offset for animation. By default the transition will end at the
 left parent boundary for horizontal orientation and at the top for
 vertical orientation. Note that sliding from the screen boundaries can only
 be achieved if all parent's sizes are big enough to accommodate it.
 
.androidx.wear.protolayout.proto.SlideBound target_slide_bound = 2;

Returns:

Whether the targetSlideBound field is set.

public ModifiersProto.SlideBound getTargetSlideBound()

 The target offset for animation. By default the transition will end at the
 left parent boundary for horizontal orientation and at the top for
 vertical orientation. Note that sliding from the screen boundaries can only
 be achieved if all parent's sizes are big enough to accommodate it.
 
.androidx.wear.protolayout.proto.SlideBound target_slide_bound = 2;

Returns:

The targetSlideBound.

public boolean hasAnimationSpec()

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

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 = 3;

Returns:

The animationSpec.