KiteRole

enum class KiteRole : Enum<KiteRole> (source)

What a piece of content is, for a reader that speaks rather than draws. It comes from the structure of the source, not from how the content looks: an EPUB <h2> or a tagged PDF /H2 is a heading whatever its style, and a large bold paragraph is not.

Entries

Link copied to clipboard

Running text, and anything with no better name.

Link copied to clipboard

A heading; the depth is in KiteReadingItem.headingLevel.

Link copied to clipboard

One item of a list.

Link copied to clipboard

A block quotation.

Link copied to clipboard

Computer code.

Link copied to clipboard

One cell of a table.

Link copied to clipboard

The caption of a figure or a table.

Link copied to clipboard

An image; the text is its alternative text, empty when it has none.

Link copied to clipboard

The page number of a print edition, not content.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): KiteRole

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.)

Link copied to clipboard

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

Properties

Link copied to clipboard
Link copied to clipboard