<!--
{
  "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/init(id:title:authorName:narratorName:type:duration:artwork:animatedArtwork:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying11BookContentV2id5title10authorName08narratorH04type8duration7artwork15animatedArtworkACSS_S3SSgAA9MediaTypeOAA0O8DurationOSgAA0N0VAA08AnimatedN0VSgtcfc"
  },
  "title" : "init(id:title:authorName:narratorName:type:duration:artwork:animatedArtwork:)"
}
-->

# init(id:title:authorName:narratorName:type:duration:artwork:animatedArtwork:)

Creates audiobook content with static and animated artwork.

```
init(id: String, title: String, authorName: String, narratorName: String? = nil, type: MediaType = .audio, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)
```

## Parameters

`id`

A unique identifier for this book.

`title`

The book’s display title.

`authorName`

The name of the book’s author.

`narratorName`

The name of the audiobook narrator, if available.

`type`

The media type. Defaults to `.audio` for spoken-word content.

`duration`

The total duration of the audiobook, or `nil` when unknown.

`artwork`

Static cover artwork.

`animatedArtwork`

Animated artwork for the book, or `nil` when unavailable.

---

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)