CornerAction.Style

enum CornerAction.Style : Enum


Defines the visual prominence of a corner action button.

Summary

Enum Values

PRIMARY

High-emphasis action style, typically filled with primary container and content colors.

SECONDARY

Medium/low-emphasis action style, typically tonal or secondary container styling.

Public functions

CornerAction.Style
valueOf(value: String)

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

Array<CornerAction.Style>

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

Public properties

EnumEntries<CornerAction.Style>

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

Enum Values

PRIMARY

val CornerAction.Style.PRIMARY: CornerAction.Style

High-emphasis action style, typically filled with primary container and content colors.

SECONDARY

val CornerAction.Style.SECONDARY: CornerAction.Style

Medium/low-emphasis action style, typically tonal or secondary container styling.

Public functions

valueOf

fun valueOf(value: String): CornerAction.Style

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

fun values(): Array<CornerAction.Style>

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 entries: EnumEntries<CornerAction.Style>

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.