<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOUSBHost",
  "identifier" : "/documentation/IOUSBHost/IOUSBHostDevice/configureWithValue:matchInterfaces:error:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "IOUSBHost"
    ],
    "preciseIdentifier" : "c:objc(cs)IOUSBHostDevice(im)configureWithValue:matchInterfaces:error:"
  },
  "title" : "configureWithValue:matchInterfaces:error:"
}
-->

# configureWithValue:matchInterfaces:error:

Selects a new configuration for the device.

```
- (BOOL) configureWithValue:(NSUInteger) value matchInterfaces:(BOOL) matchInterfaces error:(NSError **) error;
```

## Parameters

`value`

The configuration value to select.

`matchInterfaces`

A Boolean to register the new interfaces for matching. If `YES`, any interfaces within the new configuration register for matching. The default value is `YES`.

`error`

An <doc://com.apple.documentation/documentation/Foundation/NSError> that contains an <doc://com.apple.documentation/documentation/iokit/ioreturn> value on failure.

## Return Value

`YES` if the request completes successfully; otherwise, `NO`.

---

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)