MetadataValue

sealed class MetadataValue

Value associated with the eventMetadata key.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class StringValue(val value: String) : MetadataValue

Value associated with the eventMetadata key.

Functions

Link copied to clipboard

Casts this MetadataValue as a StringValue and retrieves its kotlin.String value. Throws an exception if the MetadataValue is not a StringValue.

Link copied to clipboard

Casts this MetadataValue as a StringValue and retrieves its kotlin.String value. Returns null if the MetadataValue is not a StringValue.