Package-level declarations

Types

Link copied to clipboard
expect class DateTimeSerializer : <ERROR CLASS> ERROR CLASS: Symbol not found for KSerializer<org/jellyfin/sdk/model/DateTime>

Serializer to read zoned date times as local date time and writing it back

actual class DateTimeSerializer : KSerializer<DateTime>
Link copied to clipboard
expect class UUIDSerializer : <ERROR CLASS> ERROR CLASS: Symbol not found for KSerializer<org/jellyfin/sdk/model/UUID>

A UUID serializer that supports the GUIDs without dashes from the Jellyfin API.

actual class UUIDSerializer : KSerializer<UUID>

Functions

Link copied to clipboard
expect fun String.toUUID(): UUID

Convert string to UUID. Accepts simple and hyphenated notations.

actual fun String.toUUID(): UUID
Link copied to clipboard
expect fun String.toUUIDOrNull(): UUID?

Convert string to UUID or null if the string is not an UUID. Accepts simple and hyphenated notations.

actual fun String.toUUIDOrNull(): UUID?