---
title: AVMediaSelection
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avmediaselection
---

# AVMediaSelection

An object that represents a complete rendition of media selection options on an asset.

## Declaration

```swift
class AVMediaSelection
```

## Topics

### Inspecting the media selection

- [selectedMediaOption(in:)](avfoundation/avmediaselection/selectedmediaoption(in:).md)
- [mediaSelectionCriteriaCanBeAppliedAutomatically(to:)](avfoundation/avmediaselection/mediaselectioncriteriacanbeappliedautomatically(to:).md)

### Accessing the asset

- [asset](avfoundation/avmediaselection/asset.md)

## Relationships

### Inherits From

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

### Inherited By

- [AVMutableMediaSelection](avfoundation/avmutablemediaselection.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Media selection

- [Selecting subtitles and alternative audio tracks](avfoundation/selecting-subtitles-and-alternative-audio-tracks.md)
- [AVMediaSelectionGroup](avfoundation/avmediaselectiongroup.md)
- [AVMediaSelectionOption](avfoundation/avmediaselectionoption.md)
- [AVMutableMediaSelection](avfoundation/avmutablemediaselection.md)
- [AVPlayerMediaSelectionCriteria](avfoundation/avplayermediaselectioncriteria.md)
- [AVCustomMediaSelectionScheme](avfoundation/avcustommediaselectionscheme.md)
- [AVMediaPresentationSelector](avfoundation/avmediapresentationselector.md)
- [AVMediaPresentationSetting](avfoundation/avmediapresentationsetting.md)
