init
TypeScriptstatic initNameAddressPort(name: string, address: string, port: number): MIDINetworkHostSwift declarationconvenience init(name: String, address: String, port: Int)class · iOS 4.2+ · SDK 27.1
class MIDINetworkHoststatic initNameAddressPort(name: string, address: string, port: number): MIDINetworkHostSwift declarationconvenience init(name: String, address: String, port: Int)static initNameNetService(name: string, netService: _Foundation_NetService): MIDINetworkHostSwift declarationconvenience init(name: String, netService: NetService)static initNameNetServiceNameNetServiceDomain(name: string, netServiceName: string, netServiceDomain: string): MIDINetworkHostSwift declarationconvenience init(name: String, netServiceName: String, netServiceDomain: String)hasSameAddress(other: MIDINetworkHost): booleanSwift declarationfunc hasSameAddress(as other: MIDINetworkHost) -> Boolget address(): stringSwift declarationvar address: String { get }get name(): stringSwift declarationvar name: String { get }get netServiceDomain(): (string) | nullSwift declarationvar netServiceDomain: String? { get }get netServiceName(): (string) | nullSwift declarationvar netServiceName: String? { get }get port(): numberSwift declarationvar port: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MIDINetworkHost.init()
inherited init: cannot prove legal (class declares 3 custom initializers)