getItem

abstract fun getItem(itemKey: String, callback: SuccessListener<SyncMapJava.Item?>): CancellationToken

Retrieve Item from the SyncMapJava.

Return

CancellationToken which allows to cancel network request.

Parameters

itemKey

Key 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.