Analytics.DataList.getElement()
Signature
Object[] getElement(Object dataList, int elementIndex)
Description
Returns the Element at the index mentioned from the passed DataList Object.
Parameters
Name | Type | Description |
dataList | Object | The DataList Object. |
elementIndex | int | The index of the element to be fetched from the passed DataList Object. |
Returns
Type | Description |
Object[] | Object array of the Element present at the provided index. |
Example
int elementIndex = 2;
Object[] element = Analytics.DataList.getElement(dataList,elementIndex);