getAnnotationBlocking

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

pageIndex

Page index of the page where the annotation is.

objectNumber

Object number of the annotation to retrieve.


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

pageIndex

Page index of the page where the annotation is.

uuid

UUID of the annotation to retrieve.