BooksLibraryController

@MainActor
@objc
public class BooksLibraryController : NSObject

BooksLibraryController is the main entry point for the books functionality of Richie SDK.

Reading list

Navigation

  • Undocumented

    Declaration

    Swift

    @MainActor
    func navigate(toTab tab: LibraryTab)
  • Undocumented

    Declaration

    Swift

    @MainActor
    func currentTab() -> LibraryTab?
  • Undocumented

    Declaration

    Swift

    @MainActor
    func tabs() -> [LibraryTab]
  • Opens request once the library has started. completion is called when the open has presented something or failed, but some paths drop it, so do not wait on it without a timeout.

    Declaration

    Swift

    @MainActor
    func open(_ request: BooksLibraryOpenRequest, completion: @escaping () -> Void)

Analytics