MIDINetworkConnection Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/CoreMIDI.framework |
| Availability | Available in iOS 4.2 and later. |
| Declared in | MIDINetworkSession.h |
Overview
A MIDI network connection specifies a connection to a MIDI network host. To establish or break a connection, use methods from the MIDINetworkSession class.
Properties
host
Obtains the MIDI network host associated with a connection.
@property (nonatomic,retain,readonly) MIDINetworkHost *host
Parameters
- host
The MIDI network host associated with the MIDI network connection.
Availability
- Available in iOS 4.2 and later.
Declared In
MIDINetworkSession.hClass Methods
connectionWithHost:
Creates a new connection instance for a specified MIDI network host.
+ (id)connectionWithHost:(MIDINetworkHost *)host
Parameters
- host
The MIDI network host to associate with the MIDI network connection.
Return Value
A new MIDINetworkConnection instance.
Discussion
To establish or break a network connection, call the addConnection: or removeConnection: method of the MIDINetworkSession class.
Availability
- Available in iOS 4.2 and later.
Declared In
MIDINetworkSession.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-10-27)