<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/BookContent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying11BookContentV"
  },
  "title" : "BookContent"
}
-->

# BookContent

Content representing an audiobook or book being read aloud.

```
struct BookContent
```

## Overview

Use this type for audiobooks and other spoken-word book content.

## Topics

### Initializers

[`init(id: String, title: String, authorName: String, narratorName: String?, type: MediaType, duration: MediaDuration?, artwork: Artwork?)`](/documentation/NowPlaying/BookContent/init(id:title:authorName:narratorName:type:duration:artwork:))

Creates audiobook content.

[`init(id: String, title: String, authorName: String, narratorName: String?, type: MediaType, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)`](/documentation/NowPlaying/BookContent/init(id:title:authorName:narratorName:type:duration:artwork:animatedArtwork:))

Creates audiobook content with static and animated artwork.

### Instance Properties

[`let animatedArtwork: AnimatedArtwork?`](/documentation/NowPlaying/BookContent/animatedArtwork)

Animated artwork for this content.

[`let artwork: Artwork?`](/documentation/NowPlaying/BookContent/artwork)

Artwork for this content.

[`let authorName: String`](/documentation/NowPlaying/BookContent/authorName)

The author of the book.

[`var chapter: (current: Int, total: Int)?`](/documentation/NowPlaying/BookContent/chapter)

The current chapter information, if applicable.

[`let duration: MediaDuration?`](/documentation/NowPlaying/BookContent/duration)

The duration of this content.

[`let narratorName: String?`](/documentation/NowPlaying/BookContent/narratorName)

The narrator of the audiobook, if applicable.

[`let title: String`](/documentation/NowPlaying/BookContent/title)

The title of the book.

[`let type: MediaType`](/documentation/NowPlaying/BookContent/type)

The media type. Defaults to `.audio` for book content.

## Relationships

### Conforms To

[`Identifiable`](/documentation/Swift/Identifiable)

[`MediaContentRepresentable`](/documentation/NowPlaying/MediaContentRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)