NWConnection.SetViabilityChangeHandler(Action<Boolean>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set a handler that is called when data can be sent or received.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public void SetViabilityChangeHandler(Action<bool> callback);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.SetViabilityChangeHandler : Action<bool> -> unit
Parameters
- Attributes