public final class

ResourceBuilders.AndroidAnimatedImageResourceByResId.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ResourceBuilders.AndroidAnimatedImageResourceByResId.Builder

Overview

Builder for ResourceBuilders.AndroidAnimatedImageResourceByResId

Summary

Constructors
publicBuilder()

Creates an instance of ResourceBuilders.AndroidImageResourceByResId.Builder.

Methods
public ResourceBuilders.AndroidAnimatedImageResourceByResIdbuild()

Builds an instance from accumulated values.

public ResourceBuilders.AndroidAnimatedImageResourceByResId.BuildersetAnimatedImageFormat(int animatedImageFormat)

Sets the format for the animated image.

public ResourceBuilders.AndroidAnimatedImageResourceByResId.BuildersetResourceId(int resourceId)

Sets the Android resource ID, e.g.

public ResourceBuilders.AndroidAnimatedImageResourceByResId.BuildersetStartTrigger(TriggerBuilders.Trigger startTrigger)

Sets the trigger to start the animation.

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

Constructors

public Builder()

Creates an instance of ResourceBuilders.AndroidImageResourceByResId.Builder.

Methods

public ResourceBuilders.AndroidAnimatedImageResourceByResId.Builder setAnimatedImageFormat(int animatedImageFormat)

Sets the format for the animated image.

Sets the Android resource ID, e.g. R.drawable.foo.

Sets the trigger to start the animation.

Builds an instance from accumulated values.