<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMediaLibraryBrowserController/mediaLibraries",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMediaLibraryBrowserController(py)mediaLibraries"
  },
  "title" : "mediaLibraries"
}
-->

# mediaLibraries

The media library that is in use.

```
var mediaLibraries: NSMediaLibraryBrowserController.Library { get set }
```

## Discussion

This property will be one of the values in the [`NSMediaLibraryBrowserController.Library`](/documentation/AppKit/NSMediaLibraryBrowserController/Library) constants.

You can set the value to use a specific library (image, audio or movie). You can also read the value to determine which is currently displayed.

---

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)