ResolvedTextDirection


Describes the directionality of a text.

Summary

Enum Values

Ltr

Represents the text that is left-to-right.

Rtl

Represents the text that is right-to-left.

Public functions

ResolvedTextDirection
valueOf(value: String)

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

Cmn
Array<ResolvedTextDirection>

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

Cmn

Enum Values

Ltr

val ResolvedTextDirection.LtrResolvedTextDirection

Represents the text that is left-to-right.

Rtl

val ResolvedTextDirection.RtlResolvedTextDirection

Represents the text that is right-to-left.

Public functions

valueOf

fun valueOf(value: String): ResolvedTextDirection

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<ResolvedTextDirection>

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.