RealmUUID

interface RealmUUID

A class that represents an immutable universally unique identifier (UUID). A UUID represents a 128-bit value.

UUIDs created with RealmUUID conforms to RFC 4122 version 4 and are created with random bytes.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val bytes: ByteArray

The UUID represented as a 16 byte array.

Functions

Link copied to clipboard
abstract operator override fun equals(other: Any?): Boolean

Two UUIDs are equal if they contain the same value, bit for bit.

Link copied to clipboard
abstract override fun toString(): String

Returns a string that represents the UUID. UUID are represented as 32 hexadecimal (base-16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens).