---
title: AVMediaDataStorage
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avmediadatastorage
---

# AVMediaDataStorage

An object that represents the media sample data storage file.

## Declaration

```swift
class AVMediaDataStorage
```

## Topics

### Creating media data storage

- [init(url:options:)](avfoundation/avmediadatastorage/init(url:options:)-5cv8s.md)

### Accessing the URL

- [url()](avfoundation/avmediadatastorage/url().md)

### Initializers

- [init(URL:options:)](avfoundation/avmediadatastorage/init(url:options:)-3xxug.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
