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 Number

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 Number[]

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