One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEPacket

class · iOS 10.0+ · SDK 27.1

class NEPacket

Members (4)

init · iOS 10.0+

init

TypeScript
static init(data: ArrayBuffer, protocolFamily: SDKHandle): NEPacket
Swift declaration
init(data: Data, protocolFamily: sa_family_t)
get · iOS 10.0+

data

TypeScript
get data(): ArrayBuffer
Swift declaration
var data: Data { get }
get · iOS 10.0+

metadata

TypeScript
get metadata(): (NEFlowMetaData) | null
Swift declaration
var metadata: NEFlowMetaData? { get }
get · iOS 10.0+

protocolFamily

TypeScript
get protocolFamily(): SDKHandle
Swift declaration
var protocolFamily: sa_family_t { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NEPacket.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All NetworkExtension types →