public interface

ResourceProto.AndroidSeekableAnimatedImageResourceByResIdOrBuilder

 androidx.wear.protolayout.proto.ResourceProto.AndroidSeekableAnimatedImageResourceByResIdOrBuilder

Subclasses:

ResourceProto.AndroidSeekableAnimatedImageResourceByResId, ResourceProto.AndroidSeekableAnimatedImageResourceByResId.Builder

Summary

Methods
public ResourceProto.AnimatedImageFormatgetAnimatedImageFormat()

 The format for the animated image.

public intgetAnimatedImageFormatValue()

 The format for the animated image.

public DynamicProto.DynamicFloatgetProgress()

 A DynamicFloat, normally transformed from certain states with the data
 binding pipeline to control the progress of the animation.

public intgetResourceId()

 The Android resource ID, e.g.

public booleanhasProgress()

 A DynamicFloat, normally transformed from certain states with the data
 binding pipeline to control the progress of the animation.

Methods

public int getAnimatedImageFormatValue()

 The format for the animated image.
 
.androidx.wear.protolayout.proto.AnimatedImageFormat animated_image_format = 1;

Returns:

The enum numeric value on the wire for animatedImageFormat.

public ResourceProto.AnimatedImageFormat getAnimatedImageFormat()

 The format for the animated image.
 
.androidx.wear.protolayout.proto.AnimatedImageFormat animated_image_format = 1;

Returns:

The animatedImageFormat.

public int getResourceId()

 The Android resource ID, e.g. R.drawable.foo
 
int32 resource_id = 2;

Returns:

The resourceId.

public boolean hasProgress()

 A DynamicFloat, normally transformed from certain states with the data
 binding pipeline to control the progress of the animation. Its value is
 required to fall in the range of [0.0, 1.0]. Any values outside this range
 would be clamped. When the first value of the DynamicFloat arrives, the
 animation starts from progress 0 to that value. After that it plays from
 current progress to the new value on subsequent updates. If not set, the
 animation will play on load (similar to a non-seekable animated).
 
.androidx.wear.protolayout.expression.proto.DynamicFloat progress = 3;

Returns:

Whether the progress field is set.

public DynamicProto.DynamicFloat getProgress()

 A DynamicFloat, normally transformed from certain states with the data
 binding pipeline to control the progress of the animation. Its value is
 required to fall in the range of [0.0, 1.0]. Any values outside this range
 would be clamped. When the first value of the DynamicFloat arrives, the
 animation starts from progress 0 to that value. After that it plays from
 current progress to the new value on subsequent updates. If not set, the
 animation will play on load (similar to a non-seekable animated).
 
.androidx.wear.protolayout.expression.proto.DynamicFloat progress = 3;

Returns:

The progress.