public interface

AnimationParameterProto.RepeatableOrBuilder

 androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatableOrBuilder

Subclasses:

AnimationParameterProto.Repeatable, AnimationParameterProto.Repeatable.Builder

Summary

Methods
public AnimationParameterProto.AnimationParametersgetForwardRepeatOverride()

 Optional custom parameters for the forward passes of animation.

public intgetIterations()

 The number specifying how many times animation will be repeated.

public AnimationParameterProto.RepeatModegetRepeatMode()

 The repeat mode to specify how animation will behave when repeated.

public intgetRepeatModeValue()

 The repeat mode to specify how animation will behave when repeated.

public AnimationParameterProto.AnimationParametersgetReverseRepeatOverride()

 Optional custom parameters for the reverse passes of animation.

public booleanhasForwardRepeatOverride()

 Optional custom parameters for the forward passes of animation.

public booleanhasReverseRepeatOverride()

 Optional custom parameters for the reverse passes of animation.

Methods

public int getIterations()

 The number specifying how many times animation will be repeated. If
 not set, defaults to 0, i.e. repeat infinitely.
 
uint32 iterations = 1;

Returns:

The iterations.

public int getRepeatModeValue()

 The repeat mode to specify how animation will behave when repeated. If not
 set, defaults to restart.
 
.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;

Returns:

The enum numeric value on the wire for repeatMode.

public AnimationParameterProto.RepeatMode getRepeatMode()

 The repeat mode to specify how animation will behave when repeated. If not
 set, defaults to restart.
 
.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;

Returns:

The repeatMode.

public boolean hasForwardRepeatOverride()

 Optional custom parameters for the forward passes of animation. If not set,
 use the main animation parameters set outside of Repeatable.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters forward_repeat_override = 6;

Returns:

Whether the forwardRepeatOverride field is set.

public AnimationParameterProto.AnimationParameters getForwardRepeatOverride()

 Optional custom parameters for the forward passes of animation. If not set,
 use the main animation parameters set outside of Repeatable.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters forward_repeat_override = 6;

Returns:

The forwardRepeatOverride.

public boolean hasReverseRepeatOverride()

 Optional custom parameters for the reverse passes of animation. If not set,
 use the main animation parameters set outside of Repeatable.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters reverse_repeat_override = 7;

Returns:

Whether the reverseRepeatOverride field is set.

public AnimationParameterProto.AnimationParameters getReverseRepeatOverride()

 Optional custom parameters for the reverse passes of animation. If not set,
 use the main animation parameters set outside of Repeatable.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters reverse_repeat_override = 7;

Returns:

The reverseRepeatOverride.