Package kotlin.uuid

Multiplatform Uuid class and utility functions for working with UUIDs.

Types

Common
JVM
JS
Native
2.0

Uuid

Represents a Universally Unique Identifier (UUID), also known as a Globally Unique Identifier (GUID).

class Uuid : Serializable

Annotations

Common
JVM
JS
Native
2.0

ExperimentalUuidApi

This annotation marks the experimental Kotlin Uuid API.

annotation class ExperimentalUuidApi

Extensions for External Classes

Functions

JVM
2.0

toJavaUuid

Converts this kotlin.uuid.Uuid value to the corresponding java.util.UUID value.

fun Uuid.toJavaUuid(): UUID