NWConnection
NWConnection(IntPtr, Boolean)
NWConnection(NWEndpoint, NWParameters)
CurrentPath
Description
Endpoint
MaximumDatagramSize
Parameters
Batch(Action)
Cancel()
CancelCurrentEndpoint()
ForceCancel()
GetEstablishmentReport(DispatchQueue, Action<NWEstablishmentReport>)
GetProtocolMetadata(NWProtocolDefinition)
GetProtocolMetadata<T>(NWProtocolDefinition)
Receive(UInt32, UInt32, NWConnectionReceiveCompletion)
ReceiveData(UInt32, UInt32, NWConnectionReceiveDispatchDataCompletion)
ReceiveMessage(NWConnectionReceiveCompletion)
ReceiveMessageData(NWConnectionReceiveDispatchDataCompletion)
ReceiveMessageReadOnlyData(NWConnectionReceiveReadOnlySpanCompletion)
ReceiveReadOnlyData(UInt32, UInt32, NWConnectionReceiveReadOnlySpanCompletion)
Restart()
Send(Byte[], NWContentContext, Boolean, Action<NWError>)
Send(DispatchData, NWContentContext, Boolean, Action<NWError>)
Send(Byte[], Int32, Int32, NWContentContext, Boolean, Action<NWError>)
SendIdempotent(Byte[], NWContentContext, Boolean)
SendIdempotent(DispatchData, NWContentContext, Boolean)
SetBetterPathAvailableHandler(Action<Boolean>)
SetBooleanChangeHandler(Action<Boolean>)
SetPathChangedHandler(Action<NWPath>)
SetQueue(DispatchQueue)
SetStateChangeHandler(Action<NWConnectionState, NWError>)
Start()
xamarinios
namespace Network
{
[TV(12, 0)]
[Watch(6, 0)]
public class NWConnection : NativeObject
{
public NWConnection(IntPtr handle, bool owns);
}
}
| Xamarin iOS | 0.0 |
|---|---|
| Xamarin macOS | 0.0 |
| Xamarin tvOS | 0.0 |
| Xamarin watchOS | 0.0 |
Information specific to xamarinios | |
| Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API