getItem

abstract fun getItem(itemIndex: Long, callback: SuccessListener<SyncListJava.Item?>): CancellationToken

Retrieve Item from the SyncListJava.

Return

CancellationToken which allows to cancel network request.

Parameters

itemIndex

Index of the item to retrieve.

callback

Async result listener that will receive a value of the Item in its onSuccess() callback (null if item doesn't exist) or any error in onFailure() callback.