getListItem

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

Retrieve Item from the SyncListJava without opening it.

Return

CancellationToken which allows to cancel network request.

Parameters

listSidOrUniqueName

SID or unique name of existing SyncListJava.

itemIndex

Index of the item to retrieve.

callback

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