getDocument

abstract fun getDocument(documentId: String, onSuccess: (String) -> Unit, onError: (String) -> Unit)

Returns a json string String document information

Parameters

documentId

ID of the document you'd like to retrieve.

onSuccess

Async callback in success case.

onError

Async callback in error case.