<!--
{
  "availability" : [
    "DriverKit: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/USBIdlePolicyType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@EA@USBIdlePolicyType"
  },
  "title" : "USBIdlePolicyType"
}
-->

# USBIdlePolicyType

Constants that specify whether to apply the idle policy to an interface or pipe.

```
typedef enum { ... } USBIdlePolicyType;
```

## Topics

### Getting the Idle Policy

[`USBIdlePolicyTypeInterface`](/documentation/HIDDriverKit/USBIdlePolicyType/USBIdlePolicyTypeInterface)

An idle policy that applies to the interface connected to the device.

[`USBIdlePolicyTypePipe`](/documentation/HIDDriverKit/USBIdlePolicyType/USBIdlePolicyTypePipe)

An idle policy that applies to the pipe that communicates with the device.



---

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)