TypeBuilders.StringProp


@RequiresSchemaVersion(major = 1, minor = 0)
class TypeBuilders.StringProp


A string type.

Summary

Nested types

Builder for StringProp

Public functions

DynamicBuilders.DynamicString?

Gets the dynamic value.

String

Gets the static value.

String

Public functions

getDynamicValue

Added in 1.0.0
fun getDynamicValue(): DynamicBuilders.DynamicString?

Gets the dynamic value. Note that when setting this value, the static value is still required to be set to support older renderers that only read the static value. If dynamicValue has an invalid result, the provided static value will be used instead.

getValue

Added in 1.0.0
fun getValue(): String

Gets the static value. If a dynamic value is also set and the renderer supports dynamic values for the corresponding field, this static value will be ignored. If the static value is not specified, null will be used instead.

toString

fun toString(): String