public final class

ResourceProto.ImageResource.Builder

extends <any>

implements ResourceProto.ImageResourceOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ResourceProto.ImageResource.Builder

Overview

 An image resource, which can be used by layouts. This holds multiple
 underlying resource types, which the underlying runtime will pick according
 to what it thinks is appropriate.
 
Protobuf type androidx.wear.protolayout.proto.ImageResource

Summary

Methods
public ResourceProto.ImageResource.BuilderclearAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuilderclearAndroidContentUri()

 An image which loads its drawable via an Android Content URI.

public ResourceProto.ImageResource.BuilderclearAndroidResourceByName()

 An image resource that maps to an Android drawable by name.

public ResourceProto.ImageResource.BuilderclearAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.

public ResourceProto.ImageResource.BuilderclearAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuilderclearHttpResource()

 An image resource that contains a URL to a http image.

public ResourceProto.ImageResource.BuilderclearInlineResource()

 An image resource that contains the image data inline.

public ResourceProto.AndroidAnimatedImageResourceByResIdgetAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.AndroidImageResourceByContentUrigetAndroidContentUri()

 An image which loads its drawable via an Android Content URI.

public ResourceProto.AndroidImageResourceByNamegetAndroidResourceByName()

 An image resource that maps to an Android drawable by name.

public ResourceProto.AndroidImageResourceByResIdgetAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.

public ResourceProto.AndroidSeekableAnimatedImageResourceByResIdgetAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.HttpImageResourcegetHttpResource()

 An image resource that contains a URL to a http image.

public ResourceProto.InlineImageResourcegetInlineResource()

 An image resource that contains the image data inline.

public booleanhasAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public booleanhasAndroidContentUri()

 An image which loads its drawable via an Android Content URI.

public booleanhasAndroidResourceByName()

 An image resource that maps to an Android drawable by name.

public booleanhasAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.

public booleanhasAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public booleanhasHttpResource()

 An image resource that contains a URL to a http image.

public booleanhasInlineResource()

 An image resource that contains the image data inline.

public ResourceProto.ImageResource.BuildermergeAndroidAnimatedResourceByResId(ResourceProto.AndroidAnimatedImageResourceByResId value)

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildermergeAndroidContentUri(ResourceProto.AndroidImageResourceByContentUri value)

 An image which loads its drawable via an Android Content URI.

public ResourceProto.ImageResource.BuildermergeAndroidResourceByName(ResourceProto.AndroidImageResourceByName value)

 An image resource that maps to an Android drawable by name.

public ResourceProto.ImageResource.BuildermergeAndroidResourceByResId(ResourceProto.AndroidImageResourceByResId value)

 An image resource that maps to an Android drawable by resource ID.

public ResourceProto.ImageResource.BuildermergeAndroidSeekableAnimatedResourceByResId(ResourceProto.AndroidSeekableAnimatedImageResourceByResId value)

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildermergeHttpResource(ResourceProto.HttpImageResource value)

 An image resource that contains a URL to a http image.

public ResourceProto.ImageResource.BuildermergeInlineResource(ResourceProto.InlineImageResource value)

 An image resource that contains the image data inline.

public ResourceProto.ImageResource.BuildersetAndroidAnimatedResourceByResId(ResourceProto.AndroidAnimatedImageResourceByResId.Builder builderForValue)

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildersetAndroidAnimatedResourceByResId(ResourceProto.AndroidAnimatedImageResourceByResId value)

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildersetAndroidContentUri(ResourceProto.AndroidImageResourceByContentUri.Builder builderForValue)

 An image which loads its drawable via an Android Content URI.

public ResourceProto.ImageResource.BuildersetAndroidContentUri(ResourceProto.AndroidImageResourceByContentUri value)

 An image which loads its drawable via an Android Content URI.

public ResourceProto.ImageResource.BuildersetAndroidResourceByName(ResourceProto.AndroidImageResourceByName.Builder builderForValue)

 An image resource that maps to an Android drawable by name.

public ResourceProto.ImageResource.BuildersetAndroidResourceByName(ResourceProto.AndroidImageResourceByName value)

 An image resource that maps to an Android drawable by name.

public ResourceProto.ImageResource.BuildersetAndroidResourceByResId(ResourceProto.AndroidImageResourceByResId.Builder builderForValue)

 An image resource that maps to an Android drawable by resource ID.

public ResourceProto.ImageResource.BuildersetAndroidResourceByResId(ResourceProto.AndroidImageResourceByResId value)

 An image resource that maps to an Android drawable by resource ID.

public ResourceProto.ImageResource.BuildersetAndroidSeekableAnimatedResourceByResId(ResourceProto.AndroidSeekableAnimatedImageResourceByResId.Builder builderForValue)

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildersetAndroidSeekableAnimatedResourceByResId(ResourceProto.AndroidSeekableAnimatedImageResourceByResId value)

 A seekable animated image resource that maps to an Android drawable by
 resource ID.

public ResourceProto.ImageResource.BuildersetHttpResource(ResourceProto.HttpImageResource.Builder builderForValue)

 An image resource that contains a URL to a http image.

public ResourceProto.ImageResource.BuildersetHttpResource(ResourceProto.HttpImageResource value)

 An image resource that contains a URL to a http image.

public ResourceProto.ImageResource.BuildersetInlineResource(ResourceProto.InlineImageResource.Builder builderForValue)

 An image resource that contains the image data inline.

public ResourceProto.ImageResource.BuildersetInlineResource(ResourceProto.InlineImageResource value)

 An image resource that contains the image data inline.

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

Methods

public boolean hasAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

public ResourceProto.AndroidImageResourceByResId getAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

public ResourceProto.ImageResource.Builder clearAndroidResourceByResId()

 An image resource that maps to an Android drawable by resource ID.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByResId android_resource_by_res_id = 1;

public boolean hasInlineResource()

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

public ResourceProto.InlineImageResource getInlineResource()

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

public ResourceProto.ImageResource.Builder clearInlineResource()

 An image resource that contains the image data inline.
 
.androidx.wear.protolayout.proto.InlineImageResource inline_resource = 2;

public boolean hasAndroidResourceByName()

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

public ResourceProto.AndroidImageResourceByName getAndroidResourceByName()

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

public ResourceProto.ImageResource.Builder clearAndroidResourceByName()

 An image resource that maps to an Android drawable by name.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByName android_resource_by_name = 3;

public boolean hasHttpResource()

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

public ResourceProto.HttpImageResource getHttpResource()

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

public ResourceProto.ImageResource.Builder clearHttpResource()

 An image resource that contains a URL to a http image.
 
.androidx.wear.protolayout.proto.HttpImageResource http_resource = 4;

public boolean hasAndroidContentUri()

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

public ResourceProto.ImageResource.Builder clearAndroidContentUri()

 An image which loads its drawable via an Android Content URI.
 
.androidx.wear.protolayout.proto.AndroidImageResourceByContentUri android_content_uri = 5;

public boolean hasAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

public ResourceProto.AndroidAnimatedImageResourceByResId getAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

public ResourceProto.ImageResource.Builder clearAndroidAnimatedResourceByResId()

 A non-seekable animated image resource that maps to an Android drawable by
 resource ID. The animation is started with given trigger, fire and forget.
 
.androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId android_animated_resource_by_res_id = 6;

public boolean hasAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;

public ResourceProto.AndroidSeekableAnimatedImageResourceByResId getAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;

public ResourceProto.ImageResource.Builder setAndroidSeekableAnimatedResourceByResId(ResourceProto.AndroidSeekableAnimatedImageResourceByResId.Builder builderForValue)

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;

public ResourceProto.ImageResource.Builder clearAndroidSeekableAnimatedResourceByResId()

 A seekable animated image resource that maps to an Android drawable by
 resource ID. The animation progress is bound to the provided dynamic float.
 
.androidx.wear.protolayout.proto.AndroidSeekableAnimatedImageResourceByResId android_seekable_animated_resource_by_res_id = 7;