---
title: "configureWithValue:matchInterfaces:error:"
framework: IOUSBHost
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 14.0+, macOS 10.15+]
path: "iousbhost/iousbhostdevice/configurewithvalue:matchinterfaces:error:"
---

# configureWithValue:matchInterfaces:error:

Selects a new configuration for the device.

## Declaration

```occ
- (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

Return Value YES if the request completes successfully; otherwise, NO.

## See Also

### Configuring the Device

- [configureWithValue:error:](iousbhost/iousbhostdevice/configurewithvalue:error:.md)
