One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEPacketTunnelFlow

class · iOS 9.0+ · SDK 27.1

class NEPacketTunnelFlow

Members (5)

init

init

TypeScript
static init(): NEPacketTunnelFlow
Swift declaration
init()
method · iOS 10.0+

readPacketObjects

TypeScript
readPacketObjects(completionHandler: ((arg0: Array<NEPacket>) => void)): void
Swift declaration
func readPacketObjects() async -> [NEPacket]
method · iOS 9.0+

readPackets

TypeScript
readPackets(completionHandler: ((arg0: Array<ArrayBuffer>, arg1: Array<_Foundation_NSNumber>) => void)): void
Swift declaration
func readPackets() async -> ([Data], [NSNumber])
method · iOS 10.0+

writePacketObjects

TypeScript
writePacketObjects(packets: Array<NEPacket>): boolean
Swift declaration
func writePacketObjects(_ packets: [NEPacket]) -> Bool
method · iOS 9.0+

writePackets

TypeScript
writePackets(packets: Array<ArrayBuffer>, protocols: Array<_Foundation_NSNumber>): boolean
Swift declaration
func writePackets(_ packets: [Data], withProtocols protocols: [NSNumber]) -> Bool

Skipped declarations

No declarations were skipped in this snapshot.

All NetworkExtension types →