RTData

The javascript representation of an RTData object

This object allows you to inpect the RTData objects sent from a client

This object is immutable, to create a new one you should use RTSession.getRTDataBuilder()

getData

signature getData(number index)

returns RTData

Gets an RTData object using the given index key, if the key contains a different type, or is empty a null will be returned

getDouble

signature getDouble(number index)

returns number

Gets a double using the given index key, if the key contains a different type, or is empty a null will be returned

getFloat

signature getFloat(number index)

returns Float

Gets a float using the given index key, if the key contains a different type, or is empty a null will be returned

getFloatArray

signature getFloatArray(number index)

returns Float[]

Gets a float array using the given index key, if the key contains a different type, or is empty a null will be returned

getNumber

signature getNumber(number index)

returns number

Gets a number using the given index key, if the key contains a different type, or is empty a null will be returned

getString

signature getString(number index)

returns string

Gets a string using the given index key, if the key contains a different type, or is empty a null will be returned

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