RTDataBuilder

A builder object to construct RTData objects

setData

signature setData(number index, RTDataBuilder value)

returns RTDataBuilder

Adds a nested RTData object at the given index key

setDouble

signature setDouble(number index, Number value)

returns RTDataBuilder

Adds a double at the given index key, the number will be added as a protobuf fixed64

setFloat

signature setFloat(number index, Number value)

returns RTDataBuilder

Adds a float at the given index key, the number will be added as a protobuf fixed32

setFloatArray

signature setFloatArray(number index, Number[] values)

returns RTDataBuilder

Adds a an array of floats at the given index key

setNumber

signature setNumber(number index, Number value)

returns RTDataBuilder

Adds a number at the given index key, the number will be added as a protobuf varint

setString

signature setString(number index, string value)

returns RTDataBuilder

Adds a string at the given index key

Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here