---
title: "send(_:onChannel:profileData:)"
framework: coremidi
role: symbol
role_heading: Instance Method
path: "coremidi/midicisession/send(_:onchannel:profiledata:)"
---

# send(_:onChannel:profileData:)

Sends profile-specific data to the MIDI-CI session.

## Declaration

```swift
func send(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber, profileData profileSpecificData: Data) -> Bool
```

## Parameters

- `profile`: The MIDI-CI profile.
- `channel`: The MIDI channel number.
- `profileSpecificData`: The profile-specific data to send.

## Return Value

Return Value true if the data was successfully sent, otherwise false.

## See Also

### Configuring a Session

- [profileState(forChannel:)](coremidi/midicisession/profilestate(forchannel:).md)
- [enable(_:onChannel:)](coremidi/midicisession/enable(_:onchannel:).md)
- [disableProfile(_:onChannel:)](coremidi/midicisession/disableprofile(_:onchannel:).md)
- [MIDICIProfileChangedBlock](coremidi/midiciprofilechangedblock.md)
- [profileChangedCallback](coremidi/midicisession/profilechangedcallback.md)
- [MIDICIProfileSpecificDataBlock](coremidi/midiciprofilespecificdatablock.md)
- [profileSpecificDataHandler](coremidi/midicisession/profilespecificdatahandler.md)
- [MIDIChannelsWholePort](coremidi/midichannelswholeport.md)
