Class

MIDINetworkHost

A MIDI network host represents a remote MIDI host

Declaration

class MIDINetworkHost : NSObject

Topics

MIDI Network Host Properties

var name: String

The user’s tag.

var address: String

The IP address of the network host, or the network host name.

var port: Int

The UDP (User Datagram Protocol) port for the network host.

var netServiceName: String?

The NetService name for the network host.

var netServiceDomain: String?

The NetService domain for the network host.

Creating MIDI Network Hosts

init(name: String, address: String, port: Int)

Creates a representation of a MIDI network host based on IP address and UDP port.

init(name: String, netService: NetService)

Creates a representation of a MIDI network host based on a network service object.

init(name: String, netServiceName: String, netServiceDomain: String)

Creates a representation of a MIDI network host based on a network service name and domain.

Working with MIDI Network Hosts

func hasSameAddress(as: MIDINetworkHost) -> Bool

Compares the IP addresses of two MIDI network hosts

Constants

MIDI Network ServiceTypes

Keys that indicate network service types.

Relationships

Inherits From

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software