getDocument

open override fun getDocument(documentId: String, @MainThread onSuccess: (String) -> Unit, @MainThread 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.