getReviewSummary

abstract suspend fun getReviewSummary(annotation: Annotation, currentUser: String?): AnnotationReviewSummary?

Gets a summary information about the given annotation's review state. Suspends while the summary is retrieved off the main thread.

Return

Annotation review summary, or null if it could not be retrieved.

Parameters

annotation

Annotation for which to get the review summary.

currentUser

The name of the current user, null to avoid including the current user into the review summary.