---
title: "notify(_:onChannel:isEnabled:)"
framework: coremidi
role: symbol
role_heading: Instance Method
path: "coremidi/midiciresponder/notify(_:onchannel:isenabled:)"
---

# notify(_:onChannel:isEnabled:)

Enables or disables a profile and notifies all connected initiators.

## Declaration

```swift
func notify(_ aProfile: MIDICIProfile, onChannel channel: MIDIChannelNumber, isEnabled enabledState: Bool) -> Bool
```

## Parameters

- `aProfile`: The profile to update.
- `channel`: The MIDI channel.
- `enabledState`: A Boolean value that indicates whether to enable the profile.

## See Also

### Broadcasting Profile Changes

- [send(_:onChannel:profileData:)](coremidi/midiciresponder/send(_:onchannel:profiledata:).md)
