Books
-
A protocol to be implemented by the host application for handling article open requests from the SDK.
See moreDeclaration
Swift
public protocol ArticleOpener -
Undocumented
Declaration
Swift
public struct AudioPlaybackInfo : Sendable -
Undocumented
See moreDeclaration
Swift
public struct Book : Sendable -
The context where a book cover is shown.
See moreDeclaration
Swift
public enum BookCoverContext : Sendable -
A protocol to be implemented by the host application for providing optional descriptions to the book covers shown in book lists etc.
See moreDeclaration
Swift
public protocol BookCoverOverlayProvider -
Description of a book’s media type.
See moreDeclaration
Swift
public enum BookMediaType : Sendable -
Undocumented
See moreDeclaration
Swift
public protocol BookOpening -
The policy to pass back to the callback from the willOpenBook(_:currentPolicy:callback:) method.
- allow: Allow opening of this book
- deny: Deny opening of this book
Declaration
Swift
public enum BookOpeningPolicy : Equatable, Sendable -
Undocumented
See moreDeclaration
Swift
public enum BooksFeedSortingType : Sendable -
The content type for books.
See moreDeclaration
Swift
public enum BooksFilterContentType : Sendable -
The download status for books.
See moreDeclaration
Swift
public enum BooksFilterDownloadStatus : Sendable -
Books filter item.
Specifies filtering options for books filter, as well as an image resource to represent those options.
See moreDeclaration
Swift
public struct BooksFilterItem : Equatable, Sendable -
Books filter options.
See moreDeclaration
Swift
public struct BooksFilterOptions : Equatable, Sendable -
The progress status for books.
See moreDeclaration
Swift
public enum BooksFilterProgressStatus : Sendable -
The publication status for books.
See moreDeclaration
Swift
public enum BooksFilterPublicationStatus : Sendable -
The source type for books.
See moreDeclaration
Swift
public enum BooksFilterSourceType : Sendable -
Protocol to implement if the host app is interested in the books library analytics events provided by the SDK.
See moreDeclaration
Swift
public protocol BooksLibraryAnalyticsEventListener -
Analytics events describing navigation in the library and in an epub.
See moreDeclaration
Swift
public protocol BooksLibraryEventListener : AnyObject -
A protocol to be implemented by the host application for listening to when the navigation level in the library UI changes
See moreDeclaration
Swift
public protocol BooksLibraryNavigationDelegate -
Tab bar style for books library.
See moreDeclaration
Swift
public enum BooksLibraryTabBarStyle : Sendable -
Undocumented
Declaration
Swift
@MainActor public final class MiniplayerProvider -
See moreReadingListdefines the user’s reading list.Declaration
Swift
public struct ReadingList : Equatable, Sendable -
A protocol to be implemented by the host application for communicating reading list information with the SDK.
See moreSee also
ReadingListDeclaration
Swift
public protocol ReadingListHost
-
Undocumented
See moreDeclaration
Swift
@MainActor public final class RichieBooksBook : NSObject
-
Undocumented
See moreDeclaration
Swift
public enum RichieBooksBookDiskState : Int
-
Undocumented
See moreDeclaration
Swift
@MainActor public protocol RichieBooksBookListener : AnyObject -
Undocumented
See moreDeclaration
Objective-C
@protocol RichieBooksBookLoadingListener <NSObject> -(void) bookLoadingStateProvider:(nonnull id<RichieBooksBookLoadingStateProvider>)stateProvider didStartLoadingBookWithId:(nonnull NSString *)bookId userInfo:(nullable id)userInfo; -(void) bookLoadingStateProvider:(nonnull id<RichieBooksBookLoadingStateProvider>)stateProvider didFinishLoadingBookWithId:(nonnull NSString *)bookId userInfo:(nullable id)userInfo; @endSwift
@MainActor protocol RichieBooksBookLoadingListener : NSObjectProtocol
-
Undocumented
Declaration
Swift
public final class RichieBooksBookLoadingState -
Undocumented
See moreDeclaration
Objective-C
@protocol RichieBooksBookLoadingStateProvider <NSObject> -(void) addBookLoadingListener:(nonnull id<RichieBooksBookLoadingListener>)listener; -(void) removeBookLoadingListener:(nonnull id<RichieBooksBookLoadingListener>)listener; @endSwift
@MainActor protocol RichieBooksBookLoadingStateProvider : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger, RichieBooksOrientation) { kRichieBooksOrientationPortrait = 1, kRichieBooksOrientationLandscape = 2, }Swift
enum RichieBooksOrientation : Int, @unchecked Sendable -
Undocumented
See moreDeclaration
Objective-C
@protocol RichieBooksReaderUiEventListener <NSObject> -(void) readerForBook:(RichieBooksBook *)book didPresentWithTheme:(NSString *)themeIdentifier inOrientation:(RichieBooksOrientation)orientation; -(void) readerForBookDidDismiss:(RichieBooksBook *)book; -(void) readerForBook:(RichieBooksBook *)book didNavigateToPage:(NSInteger)pageNumber pageCount:(NSInteger)pageCount; -(void) readerForBook:(RichieBooksBook *)book didFinishBookLayoutWithPageCount:(NSInteger)pageCount; -(void) readerForBook:(RichieBooksBook *)book didChangeLayoutOrientation:(RichieBooksOrientation)orientation pageNumber:(NSInteger)pageNumber pageCount:(NSInteger)pageCount; -(void) readerForBookDidOpenTOC:(RichieBooksBook *)book; -(void) readerForBookDidCloseTOC:(RichieBooksBook *)book; @endSwift
@MainActor protocol RichieBooksReaderUiEventListener : NSObjectProtocol
Books Reference