<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDICIProfileState",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:objc(cs)MIDICIProfileState"
  },
  "title" : "MIDICIProfileState"
}
-->

# MIDICIProfileState

An object that provides the enabled and disabled profiles for a MIDI channel or port on a device.

```
class MIDICIProfileState
```

## Topics

### Creating a Profile State

[`-  initWithChannel:enabledProfiles:disabledProfiles:`](/documentation/CoreMIDI/MIDICIProfileState/init(channel:enabledProfiles:disabledProfiles:))

Creates a new profile state object for the specified MIDI channel and profiles.

[`-  initWithEnabledProfiles:disabledProfiles:`](/documentation/CoreMIDI/MIDICIProfileState/init(enabledProfiles:disabledProfiles:))

Creates a new profile state object for the specified profiles.

### Accessing the MIDI Channel

[`midiChannel`](/documentation/CoreMIDI/MIDICIProfileState/midiChannel)

The MIDI channel to which this state applies.

### Accessing Profiles

[`enabledProfiles`](/documentation/CoreMIDI/MIDICIProfileState/enabledProfiles)

The object’s enabled profiles.

[`disabledProfiles`](/documentation/CoreMIDI/MIDICIProfileState/disabledProfiles)

The object’s disabled profiles.

## Relationships

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)