public final class

ResourceProto.AndroidAnimatedImageResourceByResId

extends <any>

implements ResourceProto.AndroidAnimatedImageResourceByResIdOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ResourceProto.AndroidAnimatedImageResourceByResId

Overview

 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.
 
Protobuf type androidx.wear.protolayout.proto.AndroidAnimatedImageResourceByResId

Summary

Fields
public static final intANIMATED_IMAGE_FORMAT_FIELD_NUMBER

public static final intRESOURCE_ID_FIELD_NUMBER

public static final intSTART_TRIGGER_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public ResourceProto.AnimatedImageFormatgetAnimatedImageFormat()

 The format for the animated image.

public intgetAnimatedImageFormatValue()

 The format for the animated image.

public static ResourceProto.AndroidAnimatedImageResourceByResIdgetDefaultInstance()

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.

public static ResourceProto.AndroidAnimatedImageResourceByResId.BuildernewBuilder()

public static ResourceProto.AndroidAnimatedImageResourceByResId.BuildernewBuilder(ResourceProto.AndroidAnimatedImageResourceByResId prototype)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseDelimitedFrom(java.io.InputStream input)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(java.nio.ByteBuffer data)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(com.google.protobuf.ByteString data)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(com.google.protobuf.CodedInputStream input)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResIdparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int ANIMATED_IMAGE_FORMAT_FIELD_NUMBER

public static final int RESOURCE_ID_FIELD_NUMBER

public static final int START_TRIGGER_FIELD_NUMBER

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;

public TriggerProto.Trigger getStartTrigger()

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

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(java.nio.ByteBuffer data)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(com.google.protobuf.ByteString data)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseDelimitedFrom(java.io.InputStream input)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(com.google.protobuf.CodedInputStream input)

public static ResourceProto.AndroidAnimatedImageResourceByResId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static ResourceProto.AndroidAnimatedImageResourceByResId getDefaultInstance()

public static <any> parser()