BuiltInTypeConverters.State



Control flags for built in converters.

Summary

Enum Values

DISABLED

Room cannot use the built in converter.

ENABLED

Room can use the built in converter.

INHERITED

The value is inherited from the higher scope.

Public functions

BuiltInTypeConverters.State
valueOf(value: String)

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

Cmn
Array<BuiltInTypeConverters.State>

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

Cmn

Public properties

EnumEntries<BuiltInTypeConverters.State>

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

Cmn

Enum Values

DISABLED

val BuiltInTypeConverters.State.DISABLEDBuiltInTypeConverters.State

Room cannot use the built in converter.

ENABLED

val BuiltInTypeConverters.State.ENABLEDBuiltInTypeConverters.State

Room can use the built in converter.

INHERITED

val BuiltInTypeConverters.State.INHERITEDBuiltInTypeConverters.State

The value is inherited from the higher scope. See TypeConverters documentation to learn more about TypeConverter scoping. If this value is never set, it defaults to ENABLED.

Public functions

valueOf

fun valueOf(value: String): BuiltInTypeConverters.State

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<BuiltInTypeConverters.State>

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 entriesEnumEntries<BuiltInTypeConverters.State>

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.