get Annotation Blocking
fun AnnotationProvider.getAnnotationBlocking(@IntRange(from = 0 ) pageIndex: Int, objectNumber: Int): Annotation?
Deprecated
AnnotationProviderBlocking is temporary and will be removed in a future release. Migrate to the suspend APIs on AnnotationProvider.
Returns annotation with certain object ID on the page if it exists, blocking until the operation completes.
Return
The requested annotation or null if not found.
Parameters
page Index
Page index of the page where the annotation is.
object Number
Object number of the annotation to retrieve.
fun AnnotationProvider.getAnnotationBlocking(@IntRange(from = 0 ) pageIndex: Int, uuid: String): Annotation?
Deprecated
AnnotationProviderBlocking is temporary and will be removed in a future release. Migrate to the suspend APIs on AnnotationProvider.
Returns annotation with certain UUID on the page if it exists, blocking until the operation completes.
Return
The requested annotation or null if not found.
Parameters
page Index
Page index of the page where the annotation is.
uuid
UUID of the annotation to retrieve.