getAnnotationsJson

abstract suspend fun getAnnotationsJson(@IntRange(from = 0) pageIndex: Int): String

Returns a JSON array in string format of annotations on the page.

This suspends while the JSON is produced off the main thread.

Return

JSON array string.

Parameters

pageIndex

0-indexed page number.