---
title: "inspectCommand(_:)"
framework: IOUSBHost
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 14.0+, macOS 10.15+]
path: "iousbhost/iousbhostcidevicestatemachine/inspectcommand(_:)"
---

# inspectCommand(_:)

## Declaration

```swift
func inspectCommand(_ command: UnsafePointer<IOUSBHostCIMessage>) throws
```

## See Also

### Instance Methods

- [respond(toCommand:status:)](iousbhost/iousbhostcidevicestatemachine/respond(tocommand:status:).md)
- [respond(toCommand:status:deviceAddress:)](iousbhost/iousbhostcidevicestatemachine/respond(tocommand:status:deviceaddress:).md)
