public final class

ModifiersProto.SlideParentBound.Builder

extends <any>

implements ModifiersProto.SlideParentBoundOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.SlideParentBound.Builder

Overview

 The slide animation will animate from/to the parent elements boundaries.
 
Protobuf type androidx.wear.protolayout.proto.SlideParentBound

Summary

Methods
public ModifiersProto.SlideParentBound.BuilderclearSnapTo()

 The snap options to use when sliding using parent boundaries.

public ModifiersProto.SlideParentSnapOptiongetSnapTo()

 The snap options to use when sliding using parent boundaries.

public intgetSnapToValue()

 The snap options to use when sliding using parent boundaries.

public ModifiersProto.SlideParentBound.BuildersetSnapTo(ModifiersProto.SlideParentSnapOption value)

 The snap options to use when sliding using parent boundaries.

public ModifiersProto.SlideParentBound.BuildersetSnapToValue(int value)

 The snap options to use when sliding using parent boundaries.

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

Methods

public int getSnapToValue()

 The snap options to use when sliding using parent boundaries. Defaults to
 SLIDE_PARENT_SNAP_TO_INSIDE if not specified.
 
.androidx.wear.protolayout.proto.SlideParentSnapOption snap_to = 1;

Returns:

The enum numeric value on the wire for snapTo.

public ModifiersProto.SlideParentBound.Builder setSnapToValue(int value)

 The snap options to use when sliding using parent boundaries. Defaults to
 SLIDE_PARENT_SNAP_TO_INSIDE if not specified.
 
.androidx.wear.protolayout.proto.SlideParentSnapOption snap_to = 1;

Parameters:

value: The snapTo to set.

Returns:

This builder for chaining.

 The snap options to use when sliding using parent boundaries. Defaults to
 SLIDE_PARENT_SNAP_TO_INSIDE if not specified.
 
.androidx.wear.protolayout.proto.SlideParentSnapOption snap_to = 1;

Returns:

The snapTo.

 The snap options to use when sliding using parent boundaries. Defaults to
 SLIDE_PARENT_SNAP_TO_INSIDE if not specified.
 
.androidx.wear.protolayout.proto.SlideParentSnapOption snap_to = 1;

Parameters:

value: The enum numeric value on the wire for snapTo to set.

Returns:

This builder for chaining.

 The snap options to use when sliding using parent boundaries. Defaults to
 SLIDE_PARENT_SNAP_TO_INSIDE if not specified.
 
.androidx.wear.protolayout.proto.SlideParentSnapOption snap_to = 1;

Returns:

This builder for chaining.