RealmStorageType

enum RealmStorageType : Enum<RealmStorageType>

The various types that are used when storing the property values in the realm.

Parameters

kClass

the default Kotlin class used to represent values of the storage type.

Entries

TIMESTAMP
Link copied to clipboard
TIMESTAMP(RealmInstant::class)
Storage type for properties of type RealmInstant.
DOUBLE
Link copied to clipboard
DOUBLE(Double::class)
Storage type for properties of type Double.
FLOAT
Link copied to clipboard
FLOAT(Float::class)
Storage type for properties of type Float.
OBJECT
Link copied to clipboard
OBJECT(RealmObject::class)
Storage type for properties of type RealmObject.
STRING
Link copied to clipboard
STRING(String::class)
Storage type for properties of type String.
INT
Link copied to clipboard
INT(Long::class)
Storage type for properties of type Byte, Char, Short, Int and Long.
BOOL
Link copied to clipboard
BOOL(Boolean::class)
Storage type for properties of type Boolean.

Properties

kClass
Link copied to clipboard
val kClass: KClass<*>
the default Kotlin class used to represent values of the storage type.
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int