---
title: MIDICISession
framework: coremidi
role: symbol
role_heading: Class
path: coremidi/midicisession
---

# MIDICISession

An object that represents a MIDI-CI session.

## Declaration

```swift
class MIDICISession
```

## Overview

Overview A MIDI-CI session is a bidirectional communication path between a MIDI source and destination identified using MIDI-CI discovery. Use a session to manipulate MIDI-CI profiles and to discover device capabilities.

## Topics

### Creating a Session

- [init(discoveredNode:dataReadyHandler:disconnectHandler:)](coremidi/midicisession/init(discoverednode:datareadyhandler:disconnecthandler:).md)

### 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)
- [send(_:onChannel:profileData:)](coremidi/midicisession/send(_:onchannel:profiledata:).md)
- [MIDICIProfileSpecificDataBlock](coremidi/midiciprofilespecificdatablock.md)
- [profileSpecificDataHandler](coremidi/midicisession/profilespecificdatahandler.md)
- [MIDIChannelsWholePort](coremidi/midichannelswholeport.md)

### Inspecting a Session

- [deviceInfo](coremidi/midicisession/deviceinfo.md)
- [maxSysExSize](coremidi/midicisession/maxsysexsize.md)
- [midiDestination](coremidi/midicisession/mididestination.md)
- [maxPropertyRequests](coremidi/midicisession/maxpropertyrequests.md)
- [supportsProfileCapability](coremidi/midicisession/supportsprofilecapability.md)
- [supportsPropertyCapability](coremidi/midicisession/supportspropertycapability.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Capability Inquiry

- [MIDICIDiscoveryManager](coremidi/midicidiscoverymanager.md)
- [MIDICIProfile](coremidi/midiciprofile.md)
- [MIDICIProfileState](coremidi/midiciprofilestate.md)
- [MIDICIResponder](coremidi/midiciresponder.md)
