getOutlineAsync

abstract fun getOutlineAsync(): Single<List<OutlineElement>>

Returns list of top-level (outline / table-of-contents) bookmarks, asynchronously. Bookmarks are organized in a tree-like structure and can have children.

Note: When this document is a compound document, calling this method will only ever return the outline of the first document source.

Return

Single emitting the list of top-level bookmarks or an empty list if no outline elements exist.