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[] |
values()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.State> getEntries()
Control flags for built in converters.
valueOf
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 |