ProtoLayoutScope.RendererCapability


enum ProtoLayoutScope.RendererCapability : 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 functions

ProtoLayoutScope.RendererCapability
valueOf(value: String)

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

Array<ProtoLayoutScope.RendererCapability>

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

Public properties

EnumEntries<ProtoLayoutScope.RendererCapability>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

LOTTIE_COLOR_FOR_SLOT

val ProtoLayoutScope.RendererCapability.LOTTIE_COLOR_FOR_SLOTProtoLayoutScope.RendererCapability

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

PENDING_INTENT_ACTION

val ProtoLayoutScope.RendererCapability.PENDING_INTENT_ACTIONProtoLayoutScope.RendererCapability

Indicates support for clickable response with PendingIntent.

Public functions

valueOf

Added in 1.4.0-alpha02
fun valueOf(value: String): ProtoLayoutScope.RendererCapability

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
fun values(): Array<ProtoLayoutScope.RendererCapability>

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.

Public properties

entries

val entriesEnumEntries<ProtoLayoutScope.RendererCapability>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.