public final class

ResourceBuilders.AndroidImageResourceByResId.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ResourceBuilders.AndroidImageResourceByResId.Builder

Overview

Builder for ResourceBuilders.AndroidImageResourceByResId

Summary

Constructors
publicBuilder()

Creates an instance of ResourceBuilders.AndroidImageResourceByResId.Builder.

Methods
public ResourceBuilders.AndroidImageResourceByResIdbuild()

Builds an instance from accumulated values.

public ResourceBuilders.AndroidImageResourceByResId.BuildersetResourceId(int resourceId)

Sets the Android resource ID of this image.

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.AndroidImageResourceByResId.Builder setResourceId(int resourceId)

Sets the Android resource ID of this image. This must refer to a drawable under R.drawable.

Builds an instance from accumulated values.