public interface

ResourceProto.ImageResourceOrBuilder

 androidx.wear.protolayout.proto.ResourceProto.ImageResourceOrBuilder

Subclasses:

ResourceProto.ImageResource, ResourceProto.ImageResource.Builder

Summary

Methods
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.

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;

Returns:

Whether the androidResourceByResId field is set.

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;

Returns:

The androidResourceByResId.

public boolean hasInlineResource()

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

Returns:

Whether the inlineResource field is set.

public ResourceProto.InlineImageResource getInlineResource()

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

Returns:

The inlineResource.

public boolean hasAndroidResourceByName()

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

Returns:

Whether the androidResourceByName field is set.

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;

Returns:

The androidResourceByName.

public boolean hasHttpResource()

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

Returns:

Whether the httpResource field is set.

public ResourceProto.HttpImageResource getHttpResource()

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

Returns:

The httpResource.

public boolean hasAndroidContentUri()

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

Returns:

Whether the androidContentUri field is set.

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

Returns:

The androidContentUri.

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;

Returns:

Whether the androidAnimatedResourceByResId field is set.

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;

Returns:

The androidAnimatedResourceByResId.

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;

Returns:

Whether the androidSeekableAnimatedResourceByResId field is set.

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;

Returns:

The androidSeekableAnimatedResourceByResId.