---
title: FSVolume.ItemDeactivationHandler
framework: fskit
role: symbol
role_heading: Protocol
path: fskit/fsvolume/itemdeactivationhandler
---

# FSVolume.ItemDeactivationHandler

Methods and properties implemented by volumes that support deactivating items.

## Declaration

```swift
protocol ItemDeactivationHandler : NSObjectProtocol
```

## Overview

Overview important: This protocol replaces the FSVolume.ItemDeactivation protocol. It exposes the same functionality, while using the FSDeactivateItemResult object. This object adds the ability to reply with free space from deactivateItem(_:context:replyHandler:).

## Topics

### Deactivating an item

- [deactivateItem(_:context:replyHandler:)](fskit/fsvolume/itemdeactivationhandler/deactivateitem(_:context:replyhandler:).md)
- [FSDeactivateItemResult](fskit/fsdeactivateitemresult.md)

### Inspecting volume properties

- [itemDeactivationPolicy](fskit/fsvolume/itemdeactivationhandler/itemdeactivationpolicy.md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Implementing optional handlers

- [FSVolume.OpenCloseHandler](fskit/fsvolume/openclosehandler.md)
- [FSVolume.ReadWriteHandler](fskit/fsvolume/readwritehandler.md)
- [FSVolume.AccessCheckHandler](fskit/fsvolume/accesscheckhandler.md)
- [FSVolume.RenameHandler](fskit/fsvolume/renamehandler.md)
- [FSVolume.PreallocateHandler](fskit/fsvolume/preallocatehandler.md)
- [FSVolume.XattrHandler](fskit/fsvolume/xattrhandler.md)
- [FSVolume.KernelOffloadedIOHandler](fskit/fsvolume/kerneloffloadediohandler.md)
- [FSVolume.DataCacheHandler](fskit/fsvolume/datacachehandler.md)
- [FSVolume.SeekRegionHandler](fskit/fsvolume/seekregionhandler.md)
