<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/SeekRegionHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(pl)FSVolumeSeekRegionHandler"
  },
  "title" : "FSVolume.SeekRegionHandler"
}
-->

# FSVolume.SeekRegionHandler

Methods and properties implemented by volumes that support seek operations

```
protocol SeekRegionHandler : NSObjectProtocol
```

## Topics

### Performing seek

[`func seek(within: FSItem, from: off_t, region: FSVolume.SeekRegion, context: FSContext, replyHandler: (FSSeekRegionResult?, (any Error)?) -> Void)`](/documentation/FSKit/FSVolume/SeekRegionHandler/seek(within:from:region:context:replyHandler:))

Find the next offset of hole or data region greater than or equal to the
supplied offset

[`class FSItem`](/documentation/FSKit/FSItem)

A distinct object in a file hierarchy, such as a file, directory, symlink, socket, and more.

[`enum SeekRegion`](/documentation/FSKit/FSVolume/SeekRegion)

Types of region for seek operations

[`class FSContext`](/documentation/FSKit/FSContext)

A context object that provides information about the initiator of a file system operation.

[`class FSSeekRegionResult`](/documentation/FSKit/FSSeekRegionResult)

A seek-region result.

### Inspecting seek properties

[`var isSeekRegionInhibited: Bool`](/documentation/FSKit/FSVolume/SeekRegionHandler/isSeekRegionInhibited)

A Boolean value that instructs FSKit not to call this protocol’s methods, even if the volume conforms to it.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)