ProtoLayoutScope.RendererCapability


public enum ProtoLayoutScope.RendererCapability extends Enum


Defines the capabilities or features that a renderer can support.

Support for each feature requires a certain minimum renderer version, which must be checked against the current VersionInfo.

Summary

Enum Values

LOTTIE_COLOR_FOR_SLOT

Indicates support for customizing Lottie animation by specifying color for slot.

PENDING_INTENT_ACTION

Indicates support for clickable response with PendingIntent.

Public methods

final @NonNull EnumEntries<@NonNull ProtoLayoutScope.RendererCapability>

Defines the capabilities or features that a renderer can support.

final @NonNull ProtoLayoutScope.RendererCapability

Returns the enum constant of this type with the specified name.

final @NonNull ProtoLayoutScope.RendererCapability[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

LOTTIE_COLOR_FOR_SLOT

ProtoLayoutScope.RendererCapability ProtoLayoutScope.RendererCapability.LOTTIE_COLOR_FOR_SLOT

Indicates support for customizing Lottie animation by specifying color for slot.

PENDING_INTENT_ACTION

ProtoLayoutScope.RendererCapability ProtoLayoutScope.RendererCapability.PENDING_INTENT_ACTION

Indicates support for clickable response with PendingIntent.

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull ProtoLayoutScope.RendererCapabilitygetEntries()

Defines the capabilities or features that a renderer can support.

Support for each feature requires a certain minimum renderer version, which must be checked against the current VersionInfo.

valueOf

Added in 1.4.0-alpha02
public final @NonNull ProtoLayoutScope.RendererCapability valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.4.0-alpha02
public final @NonNull ProtoLayoutScope.RendererCapability[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.