Analytics.DataList.getElement()

Signature

Object[] getElement(Object dataList, int elementIndex)

Domain

ACTION

Description

Returns the Element at the index mentioned from the passed DataList Object.

Parameters

NameTypeDescription
dataListObjectThe DataList Object.
elementIndexintThe index of the element to be fetched from the passed DataList Object.

Returns

TypeDescription
Object[]Object array of the Element present at the provided index.

Example

int elementIndex = 2;
Object[] element = Analytics.DataList.getElement(dataList,elementIndex);