schemas/books library

Apple's books App Schemas, as typed annotations.

Annotate a class with an entity annotation, such as @BooksBook(...), and its fields with @BooksBookField.<member>.

Not adoptable: playAudiobook (deprecated: Use .audio.playAudio instead), search (deprecated: Use .system.searchInApp instead).

Classes

BooksAudiobook
Adopts Apple's books.audiobook schema ("Audiobook", iOS 18+, macOS 15+).
BooksAudiobookField
Members of books.audiobook, used as field annotations: @BooksAudiobookField.title ….
BooksAudiobookSchema
Marks members of books.audiobook.
BooksBook
Adopts Apple's books.book schema ("Book", iOS 18+, macOS 15+).
BooksBookField
Members of books.book, used as field annotations: @BooksBookField.title ….
BooksBookSchema
Marks members of books.book.
BooksContentType
books.contentType ("Book Content Type"), whose cases the app defines: put @BooksContentType() on a Dart enum, and each of its values becomes a case Siri can use.
BooksFont
books.font ("Book Font"), whose cases the app defines: put @BooksFont() on a Dart enum, and each of its values becomes a case Siri can use.
BooksFontSize
books.fontSize ("Book Font Size"), whose cases the app defines: put @BooksFontSize() on a Dart enum, and each of its values becomes a case Siri can use.
BooksNavigationDirection
books.navigationDirection ("Book Navigation Direction"), whose cases the app defines: put @BooksNavigationDirection() on a Dart enum, and each of its values becomes a case Siri can use.
BooksPageNavigationSetting
books.pageNavigationSetting ("Book Page Navigation Setting"), whose cases the app defines: put @BooksPageNavigationSetting() on a Dart enum, and each of its values becomes a case Siri can use.
BooksRelativeCharacterSpacingChange
books.relativeCharacterSpacingChange ("Book Relative Character Spacing Change"), whose cases the app defines: put @BooksRelativeCharacterSpacingChange() on a Dart enum, and each of its values becomes a case Siri can use.
BooksRelativeFontChange
books.relativeFontChange ("Book Relative Font Change"), whose cases the app defines: put @BooksRelativeFontChange() on a Dart enum, and each of its values becomes a case Siri can use.
BooksRelativeLineSpacingChange
books.relativeLineSpacingChange ("Book Relative Line Spacing Change"), whose cases the app defines: put @BooksRelativeLineSpacingChange() on a Dart enum, and each of its values becomes a case Siri can use.
BooksRelativeWordSpacingChange
books.relativeWordSpacingChange ("Book Relative Word Spacing Change"), whose cases the app defines: put @BooksRelativeWordSpacingChange() on a Dart enum, and each of its values becomes a case Siri can use.
BooksSettings
Adopts Apple's books.settings schema ("Book Settings", iOS 18+, macOS 15+).
BooksSettingsField
Members of books.settings, used as field annotations: @BooksSettingsField.font ….
BooksSettingsSchema
Marks members of books.settings.
BooksTheme
books.theme ("Book Theme"), whose cases the app defines: put @BooksTheme() on a Dart enum, and each of its values becomes a case Siri can use.
FixedBooksAudiobook
A fixed books.audiobook instance, for schemas that require one.
FixedBooksBook
A fixed books.book instance, for schemas that require one.