getAllAnnotationsOfTypeAsync

abstract fun getAllAnnotationsOfTypeAsync(types: Set<ERROR CLASS: Symbol not found for AnnotationType>): Observable<Annotation>

Returns all annotations of passed types in this document.

WARNING: Parsing all annotations in a document can take some time. If you have to use it as a synchronous call, use getAllAnnotationsOfType.

Return

Observable emitting all annotations of passed types in a document.

Parameters

types

Annotation types to return. ALL_ANNOTATION_TYPES can be used as a shorthand parameter for all annotations.

See also


abstract fun getAllAnnotationsOfTypeAsync(types: Set<ERROR CLASS: Symbol not found for AnnotationType>, startIndex: Int, pageCount: Int): Observable<Annotation>

Returns all annotations of passed types in the specified page index range.

WARNING: Parsing all annotations in a document can take some time. If you have to use it as a synchronous call, use getAllAnnotationsOfType.

Return

Observable emitting all annotations of passed types in a document.

Parameters

types

Annotation types to return. ALL_ANNOTATION_TYPES can be used as a shorthand parameter for all annotations.

startIndex

Index of the page to start the search.

pageCount

Number of pages to be included, starting the count with the startIndex page.

See also