<!--
{
  "availability" : [
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVInterfaceMetadata/initWithAudioOnly:presentationSize:title:subtitle:albumArtworkRepresentations:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVInterfaceMetadata(im)initWithAudioOnly:presentationSize:title:subtitle:albumArtworkRepresentations:"
  },
  "title" : "initWithAudioOnly:presentationSize:title:subtitle:albumArtworkRepresentations:"
}
-->

# initWithAudioOnly:presentationSize:title:subtitle:albumArtworkRepresentations:

Initializes a new metadata object with the specified properties.

```
- (instancetype) initWithAudioOnly:(BOOL) audioOnly presentationSize:(CGSize) presentationSize title:(NSString *) title subtitle:(NSString *) subtitle albumArtworkRepresentations:(NSArray<AVInterfaceAlbumArtwork *> *) albumArtworkRepresentations;
```

## Parameters

`audioOnly`

Whether the content is audio-only (no video component).

`presentationSize`

The pixel dimensions for video presentation.

`title`

Primary title or name of the media content.

`subtitle`

Secondary descriptive text such as artist name or episode description.

`albumArtworkRepresentations`

Array of available album artwork representations in various formats and sizes.

---

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)