RuntimeSessionDataValue

A union type that specifies the data stored on the session.

Inheritors

Types

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

The string value of the data stored on the session.

Functions

Link copied to clipboard

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

Link copied to clipboard

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