public interface

ResourceProto.AndroidAnimatedImageResourceByResIdOrBuilder

 androidx.wear.protolayout.proto.ResourceProto.AndroidAnimatedImageResourceByResIdOrBuilder

Subclasses:

ResourceProto.AndroidAnimatedImageResourceByResId, ResourceProto.AndroidAnimatedImageResourceByResId.Builder

Summary

Methods
public ResourceProto.AnimatedImageFormatgetAnimatedImageFormat()

 The format for the animated image.

public intgetAnimatedImageFormatValue()

 The format for the animated image.

public intgetResourceId()

 The Android resource ID, e.g.

public TriggerProto.TriggergetStartTrigger()

 The trigger to start the animation.

public booleanhasStartTrigger()

 The trigger to start 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 hasStartTrigger()

 The trigger to start the animation.
 
.androidx.wear.protolayout.proto.Trigger start_trigger = 3;

Returns:

Whether the startTrigger field is set.

public TriggerProto.Trigger getStartTrigger()

 The trigger to start the animation.
 
.androidx.wear.protolayout.proto.Trigger start_trigger = 3;

Returns:

The startTrigger.