Skip to content

value of

milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.assets/AssetType/valueOf

valueOf

[androidJvm]
fun valueOf(value: String): AssetType

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

IllegalArgumentException if this enum type has no constant with the specified name
Clone this wiki locally