public final class

ModifiersProto.SlideLinearBound.Builder

extends <any>

implements ModifiersProto.SlideLinearBoundOrBuilder

 java.lang.Object

↳<any>

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

Overview

 The slide animation will use the explicit offset for the animation boundary.
 
Protobuf type androidx.wear.protolayout.proto.SlideLinearBound

Summary

Methods
public ModifiersProto.SlideLinearBound.BuilderclearOffsetDp()

 The absolute delta linear distance to animate from/to.

public floatgetOffsetDp()

 The absolute delta linear distance to animate from/to.

public ModifiersProto.SlideLinearBound.BuildersetOffsetDp(float value)

 The absolute delta linear distance to animate from/to.

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

Methods

public float getOffsetDp()

 The absolute delta linear distance to animate from/to. A direction will be
 defined by SlideDirection and this value should be a positive offset.
 
float offset_dp = 1;

Returns:

The offsetDp.

public ModifiersProto.SlideLinearBound.Builder setOffsetDp(float value)

 The absolute delta linear distance to animate from/to. A direction will be
 defined by SlideDirection and this value should be a positive offset.
 
float offset_dp = 1;

Parameters:

value: The offsetDp to set.

Returns:

This builder for chaining.

 The absolute delta linear distance to animate from/to. A direction will be
 defined by SlideDirection and this value should be a positive offset.
 
float offset_dp = 1;

Returns:

This builder for chaining.