StringValue

data class StringValue(val value: String) : MetadataValue

Value associated with the eventMetadata key.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.