public final class

LayoutElementProto.MarqueeParameters.Builder

extends <any>

implements LayoutElementProto.MarqueeParametersOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.MarqueeParameters.Builder

Overview

 Parameters for Marquee animation. Only applies for TEXT_OVERFLOW_MARQUEE.
 
Protobuf type androidx.wear.protolayout.proto.MarqueeParameters

Summary

Methods
public LayoutElementProto.MarqueeParameters.BuilderclearIterations()

 The number of times to repeat the Marquee animation.

public LayoutElementProto.MarqueeParameters.BuilderclearOptionalIterations()

public intgetIterations()

 The number of times to repeat the Marquee animation.

public LayoutElementProto.MarqueeParameters.OptionalIterationsCasegetOptionalIterationsCase()

public booleanhasIterations()

 The number of times to repeat the Marquee animation.

public LayoutElementProto.MarqueeParameters.BuildersetIterations(int value)

 The number of times to repeat the Marquee animation.

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

Methods

public LayoutElementProto.MarqueeParameters.Builder clearOptionalIterations()

public boolean hasIterations()

 The number of times to repeat the Marquee animation. Set to -1 to repeat
 indefinitely. Defaults to repeat indefinitely.
 
int32 iterations = 1;

Returns:

Whether the iterations field is set.

public int getIterations()

 The number of times to repeat the Marquee animation. Set to -1 to repeat
 indefinitely. Defaults to repeat indefinitely.
 
int32 iterations = 1;

Returns:

The iterations.

public LayoutElementProto.MarqueeParameters.Builder setIterations(int value)

 The number of times to repeat the Marquee animation. Set to -1 to repeat
 indefinitely. Defaults to repeat indefinitely.
 
int32 iterations = 1;

Parameters:

value: The iterations to set.

Returns:

This builder for chaining.

 The number of times to repeat the Marquee animation. Set to -1 to repeat
 indefinitely. Defaults to repeat indefinitely.
 
int32 iterations = 1;

Returns:

This builder for chaining.