Package-level declarations
Types
Interface for providing custom action bars for views. Implementing this is optional.
Class for presenting alerts present in the config.
Appconfig data callback. Use this if you need to perform your own parsing from the appconfig.
Provides the current state of the audiobook and live audio players (if either exist), and also updates.
The main entry point for the Book Library UI SDK.
Configuration class for various UI bits.
Callbacks for when a book will open and has been opened.
The policy to pass back to the callback in the BookOpening.onWillOpenBook function.
Created by Johan Halin on 20.5.2025. Copyright © 2025 Richie Ltd. All rights reserved.
Interface for providing icons for items in the list of categories.
This object mostly exists for BooksConfig needs outside booklibraryui. In booklibraryui, you should use Provider.configStore instead.
Class for following the state of the content feed.
The listener for the content feed state.
Posted when event logging is about to start. You must call completion if this callback is used. You can use this to set up attributes that should be set before any events are sent. The event logger promise has been fulfilled when this callback is called.
Events that should be consumed by SDK users.
Used for providing a potential header view for the featured view.
Error codes returned from BookLibraryController.playPodcastEpisode when playback cannot be started. Numeric codes are stable and intended to be shown to end users (e.g. in a toast) so that the failure cause can be reported without exposing untranslated English strings.
Class for accessing Books resource ids indirectly, for cases where Books is a compileOnly dependency. Add more as needed.
The kind of content a search covers.
The type of the tab bar in the main view of the library.
Helpers to allow Books to open activities and fragments.
Properties
Functions
Inflates the Book Library's view structure synchronously into containerView and returns the resulting binding, which must then be passed to BookLibraryController.showLibraryInView.
Open fragment in the currently visible Book Library UI tab. If a BookLibraryController instance has not been created, this function will suspend until one exists. The returned job can be cancelled if needed.