errorCode
TypeScriptstatic get errorCode(): stringSwift declarationclass let errorCode: Stringclass · iOS 2.0+ · Deprecated in iOS 100000.0 · SDK 27.1
class NetServicestatic get errorCode(): stringSwift declarationclass let errorCode: Stringstatic get errorDomain(): stringSwift declarationclass let errorDomain: Stringstatic data(txtDictionary: Record<string, ArrayBuffer>): ArrayBufferSwift declarationclass func data(fromTXTRecord txtDictionary: [String : Data]) -> Datastatic dictionary(txtData: ArrayBuffer): Record<string, ArrayBuffer>Swift declarationclass func dictionary(fromTXTRecord txtData: Data) -> [String : Data]txtRecordData(): (ArrayBuffer) | nullSwift declarationfunc txtRecordData() -> Data?getInputStream(): { $ret: boolean; $out: { "inputStream": (InputStream) | null; "outputStream": (OutputStream) | null } }Swift declarationfunc getInputStream(_ inputStream: UnsafeMutablePointer<InputStream?>?, outputStream: UnsafeMutablePointer<OutputStream?>?) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with inputStream, outputStream inside $out.
static initDomainTypeName(domain: string, type: string, name: string): NetServiceSwift declarationconvenience init(domain: String, type: String, name: String)static initDomainTypeNamePort(domain: string, type: string, name: string, port: number): NetServiceSwift declarationinit(domain: String, type: String, name: String, port: Int32)publish(): voidSwift declarationfunc publish()publishOptions(options?: NetService_Options): voidSwift declarationfunc publish(options: NetService.Options = [])remove(aRunLoop: RunLoop, mode: RunLoop_Mode): voidSwift declarationfunc remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)resolve(timeout: number): voidSwift declarationfunc resolve(withTimeout timeout: TimeInterval)schedule(aRunLoop: RunLoop, mode: RunLoop_Mode): voidSwift declarationfunc schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)setTXTRecord(recordData?: (ArrayBuffer) | null): booleanSwift declarationfunc setTXTRecord(_ recordData: Data?) -> BoolstartMonitoring(): voidSwift declarationfunc startMonitoring()stop(): voidSwift declarationfunc stop()stopMonitoring(): voidSwift declarationfunc stopMonitoring()get addresses(): (Array<ArrayBuffer>) | nullSwift declarationvar addresses: [Data]? { get }get delegate(): (SDKHandle) | nullSwift declarationunowned(unsafe) var delegate: (any NetServiceDelegate)? { get set }set delegate(value: (Implements<NetServiceDelegate> | SDKHandle) | null)Swift declarationunowned(unsafe) var delegate: (any NetServiceDelegate)? { get set }get domain(): stringSwift declarationvar domain: String { get }get hostName(): (string) | nullSwift declarationvar hostName: String? { get }get includesPeerToPeer(): booleanSwift declarationvar includesPeerToPeer: Bool { get set }set includesPeerToPeer(value: boolean)Swift declarationvar includesPeerToPeer: Bool { get set }get name(): stringSwift declarationvar name: String { get }get port(): numberSwift declarationvar port: Int { get }get type(): stringSwift declarationvar type: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NetService.init()
inherited init: cannot prove legal (class declares 2 custom initializers)