Parameter

Parameter object. A parameter is a tuple ( key, value, name ). Key is the string parameter identifier Value is the parameter variant value. Use getType to get the native value storage Name is the string parameter name. When parameters are returned from SDK the name is translated in the SDK language Container for different types of values.

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(address: Long, isRef: Boolean)
constructor(key: String, value: String, name: String? = null)
constructor(key: String, value: ParameterList, name: String? = null)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard
val key: String?

Parameter key

Link copied to clipboard
val name: String?

Parameter name

Link copied to clipboard

Original type of the value ( i.e. the value type used to create the Parameter object )

Link copied to clipboard

Value as bool

Link copied to clipboard

Value as double

Link copied to clipboard

Value as list

Link copied to clipboard

Value as 64 bit large integer

Link copied to clipboard

Value as string

Functions

Link copied to clipboard
external fun assign(value: Parameter)

Assign new value to this.

Link copied to clipboard
external fun equalsTo(value: Parameter): Boolean

Equality check

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: