BuiltInTypeConverters.State


public enum BuiltInTypeConverters.State extends Enum


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 methods

final @NonNull EnumEntries<@NonNull BuiltInTypeConverters.State>

Control flags for built in converters.

final @NonNull BuiltInTypeConverters.State

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

final @NonNull BuiltInTypeConverters.State[]

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

Enum Values

DISABLED

BuiltInTypeConverters.State BuiltInTypeConverters.State.DISABLED

Room cannot use the built in converter.

ENABLED

BuiltInTypeConverters.State BuiltInTypeConverters.State.ENABLED

Room can use the built in converter.

INHERITED

BuiltInTypeConverters.State BuiltInTypeConverters.State.INHERITED

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 methods

getEntries

public final @NonNull EnumEntries<@NonNull BuiltInTypeConverters.StategetEntries()

Control flags for built in converters.

valueOf

Added in 2.4.0
public final @NonNull BuiltInTypeConverters.State 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

if this enum type has no constant with the specified name

values

Added in 2.4.0
public final @NonNull BuiltInTypeConverters.State[] 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.