<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.9.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "MediaLibrary",
  "identifier" : "/documentation/MediaLibrary/MLMediaObjectProtectedKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Library"
    ],
    "preciseIdentifier" : "c:@MLMediaObjectProtectedKey"
  },
  "title" : "MLMediaObjectProtectedKey"
}
-->

# MLMediaObjectProtectedKey

Specifies whether the media object is protected by DRM (Digital Rights Management). The value for this key is a number (<doc://com.apple.documentation/documentation/Foundation/NSNumber>), 0 or 1, that represents a Boolean value.

```
let MLMediaObjectProtectedKey: String
```

---

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)