getPayload

open suspend override fun getPayload(documentId: String)(source)

Retrieves the payload associated with the document identified by the given document ID.

Return

The payload associated with the document, or null if no such document exists or it has no payload.

Parameters

documentId

The unique identifier of the document whose payload is being retrieved.