<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleBufferRequest/Direction-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@E@AVSampleBufferRequestDirection"
  },
  "title" : "AVSampleBufferRequest.Direction"
}
-->

# AVSampleBufferRequest.Direction

The modes that describe the buffer request direction.

```
enum Direction
```

## Topics

### Buffer direction

[`AVSampleBufferRequestDirectionForward`](/documentation/AVFoundation/AVSampleBufferRequest/Direction-swift.enum/forward)

The number of following samples may be zero or greater.

[`AVSampleBufferRequestDirectionNone`](/documentation/AVFoundation/AVSampleBufferRequest/Direction-swift.enum/none)

A single sample will be loaded.

[`AVSampleBufferRequestDirectionReverse`](/documentation/AVFoundation/AVSampleBufferRequest/Direction-swift.enum/reverse)

The number of previous samples may be zero or greater.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)