Contents

MIDICISessionDisconnectBlock

A block the system calls when a MIDI-CI session disconnects.

Declaration

typealias MIDICISessionDisconnectBlock = (MIDICISession, any Error) -> Void

Parameters

  • session:

    The disconnected session instance.

  • error:

    An object that provides error information, if any.

Discussion

If the system calls this block, terminate the MIDI-CI session.

See Also

Data Types