<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOUSBHost",
  "identifier" : "/documentation/IOUSBHost/IOUSBHostObjectInitOptions/deviceCapture",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "IOUSBHost"
    ],
    "preciseIdentifier" : "c:@E@IOUSBHostObjectInitOptions@IOUSBHostObjectInitOptionsDeviceCapture"
  },
  "title" : "deviceCapture"
}
-->

# deviceCapture

The option to capture the device and terminate existing drivers.

```
static var deviceCapture: IOUSBHostObjectInitOptions { get }
```

## Discussion

Callers must have either the com.apple.vm.device-access entitlement and the [`IOUSBHostDevice`](/documentation/IOUSBHost/IOUSBHostDevice) object from <doc://com.apple.documentation/documentation/iokit/1514533-ioserviceauthorize> authorization, or have root privileges. Using this option terminates all clients and drivers of the [`IOUSBHostDevice`](/documentation/IOUSBHost/IOUSBHostDevice) and associated <doc://com.apple.documentation/documentation/kernel/iousbhostinterface> clients, as well as the caller. Upon [`destroy()`](/documentation/IOUSBHost/IOUSBHostObject/destroy()) of the [`IOUSBHostDevice`](/documentation/IOUSBHost/IOUSBHostDevice), the device resets and <doc://com.apple.documentation/documentation/kernel/iousbhostinterface> reregisters for <doc://com.apple.documentation/documentation/iokit> matching.

---

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)