NEFilterControlProvider.HandleNewFlowAsync(NEFilterFlow) Method

Definition

Handles new filter rules and runs completionHandler after changing the rules.

public virtual System.Threading.Tasks.Task<NetworkExtension.NEFilterControlVerdict> HandleNewFlowAsync (NetworkExtension.NEFilterFlow flow);
abstract member HandleNewFlowAsync : NetworkExtension.NEFilterFlow -> System.Threading.Tasks.Task<NetworkExtension.NEFilterControlVerdict>
override this.HandleNewFlowAsync : NetworkExtension.NEFilterFlow -> System.Threading.Tasks.Task<NetworkExtension.NEFilterControlVerdict>

Parameters

Returns

A task that represents the asynchronous HandleNewFlow operation. The value of the TResult parameter is of type System.Action<NetworkExtension.NEFilterControlVerdict>.

Remarks

The HandleNewFlowAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to