<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMediaDataStorage",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMediaDataStorage"
  },
  "title" : "AVMediaDataStorage"
}
-->

# AVMediaDataStorage

An object that represents the media sample data storage file.

```
class AVMediaDataStorage
```

## Topics

### Creating media data storage

[`init(url:options:)`](/documentation/AVFoundation/AVMediaDataStorage/init(url:options:)-5cv8s)

Creates a media data storage object associated with a file URL.

### Accessing the URL

[`url()`](/documentation/AVFoundation/AVMediaDataStorage/url())

Returns the URL used to initialize the receiver.



---

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)