public final class

ModifiersBuilders.SlideOutTransition

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.SlideOutTransition

Overview

The sliding out animation for content transition of an element and its children.

Summary

Methods
public static ModifiersBuilders.SlideOutTransitionfromProto(ModifiersProto.SlideOutTransition proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public AnimationParameterBuilders.AnimationSpecgetAnimationSpec()

Gets the animation parameters for duration, delay, etc.

public intgetDirection()

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

public FingerprintgetFingerprint()

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

public ModifiersBuilders.SlideBoundgetTargetSlideBound()

Gets the target offset for animation.

public ModifiersProto.SlideOutTransitiontoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public int getDirection()

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

public ModifiersBuilders.SlideBound getTargetSlideBound()

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

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