One Logo Pool Ball
Foundation · IOS API REFERENCE

Stream

class · SDK 27.1

class Stream

Members (13)

static · iOS 8.0+

getBoundStreams

TypeScript
static getBoundStreams(bufferSize: number): { $ret: null; $out: { "inputStream": (InputStream) | null; "outputStream": (OutputStream) | null } }
Swift declaration
class func getBoundStreams(withBufferSize bufferSize: Int, inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)

Omit the output parameters from the call. The result contains $ret and $out, with inputStream, outputStream inside $out.

static · iOS 8.0+ · Deprecated in iOS 100000.0

getStreamsToHost

TypeScript
static getStreamsToHost(hostname: string, port: number): { $ret: null; $out: { "inputStream": (InputStream) | null; "outputStream": (OutputStream) | null } }
Swift declaration
class func getStreamsToHost(withName hostname: String, port: Int, inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)

Omit the output parameters from the call. The result contains $ret and $out, with inputStream, outputStream inside $out.

method

close

TypeScript
close(): void
Swift declaration
func close()
init

init

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

open

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

property

TypeScript
property(key: Stream_PropertyKey): (unknown) | null
Swift declaration
func property(forKey key: Stream.PropertyKey) -> Any?
method

remove

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

schedule

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

setProperty

TypeScript
setProperty(property: (unknown) | null, key: Stream_PropertyKey): boolean
Swift declaration
func setProperty(_ property: Any?, forKey key: Stream.PropertyKey) -> Bool
get

delegate

TypeScript
get delegate(): (SDKHandle) | null
Swift declaration
unowned(unsafe) var delegate: (any StreamDelegate)? { get set }
set

delegate

TypeScript
set delegate(value: (Implements<StreamDelegate> | SDKHandle) | null)
Swift declaration
unowned(unsafe) var delegate: (any StreamDelegate)? { get set }
get

streamError

TypeScript
get streamError(): (NativeError) | null
Swift declaration
var streamError: (any Error)? { get }
get

streamStatus

TypeScript
get streamStatus(): Stream_Status
Swift declaration
var streamStatus: Stream.Status { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →