Stay organized with collections Save and categorize content based on your preferences.

ListComplicationData.StyleHint

@ComplicationExperimental
public enum ListComplicationData.StyleHint extends Enum


A hint for generating a layout for ListComplicationData.

Summary

Enum Values

ColumnOfRows

Hints the list should be displayed as a single column where the entries are rows.

RowOfColumns

Hints the list should be displayed as a single row where the entries are columns.

Public methods

@NonNull String
final @NonNull ListComplicationData.StyleHint

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

final @NonNull ListComplicationData.StyleHint[]

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

Enum Values

ColumnOfRows

@ComplicationExperimental
ListComplicationData.StyleHint ListComplicationData.StyleHint.ColumnOfRows

Hints the list should be displayed as a single column where the entries are rows.

RowOfColumns

@ComplicationExperimental
ListComplicationData.StyleHint ListComplicationData.StyleHint.RowOfColumns

Hints the list should be displayed as a single row where the entries are columns.

Public methods

toString

public @NonNull String toString()

valueOf

public final @NonNull ListComplicationData.StyleHint 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 kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull ListComplicationData.StyleHint[] 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.