Edit

Share via


NEPacketTunnelFlow.ReadPackets(Action<NSData[],NSNumber[]>) Method

Definition

Reads packets from the TUN interface and runs a handler when the operation completes.

[Foundation.Export("readPacketsWithCompletionHandler:")]
public virtual void ReadPackets (Action<Foundation.NSData[],Foundation.NSNumber[]> completionHandler);
abstract member ReadPackets : Action<Foundation.NSData[], Foundation.NSNumber[]> -> unit
override this.ReadPackets : Action<Foundation.NSData[], Foundation.NSNumber[]> -> unit

Parameters

completionHandler
Action<NSData[],NSNumber[]>
Attributes

Applies to