One Logo Pool Ball
Foundation · IOS API REFERENCE

Port

class · SDK 27.1

class Port

Members (11)

get

didBecomeInvalidNotification

TypeScript
static get didBecomeInvalidNotification(): NSNotification_Name
Swift declaration
class let didBecomeInvalidNotification: NSNotification.Name
method

delegate

TypeScript
delegate(): (SDKHandle) | null
Swift declaration
func delegate() -> (any PortDelegate)?
init

init

TypeScript
static init(): Port
Swift declaration
init()
method

invalidate

TypeScript
invalidate(): void
Swift declaration
func invalidate()
method

remove

TypeScript
remove(runLoop: RunLoop, mode: RunLoop_Mode): void
Swift declaration
func remove(from runLoop: RunLoop, forMode mode: RunLoop.Mode)
method

schedule

TypeScript
schedule(runLoop: RunLoop, mode: RunLoop_Mode): void
Swift declaration
func schedule(in runLoop: RunLoop, forMode mode: RunLoop.Mode)
method

send

TypeScript
sendBeforeComponentsFromReserved(limitDate: globalThis.Date, components: (NSMutableArray) | null, receivePort: (Port) | null, headerSpaceReserved: number): boolean
Swift declaration
func send(before limitDate: Date, components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
method

send

TypeScript
sendBeforeMsgidComponentsFromReserved(limitDate: globalThis.Date, msgID: number, components: (NSMutableArray) | null, receivePort: (Port) | null, headerSpaceReserved: number): boolean
Swift declaration
func send(before limitDate: Date, msgid msgID: Int, components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
method

setDelegate

TypeScript
setDelegate(anObject?: (SDKHandle) | null): void
Swift declaration
func setDelegate(_ anObject: (any PortDelegate)?)
get

reservedSpaceLength

TypeScript
get reservedSpaceLength(): number
Swift declaration
var reservedSpaceLength: Int { get }
get

isValid

TypeScript
get isValid(): boolean
Swift declaration
var isValid: Bool { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →