NWUdpSession
NWUdpSession()
NWUdpSession(IntPtr)
NWUdpSession(NativeHandle)
NWUdpSession(NSObjectFlag)
NWUdpSession(NWUdpSession)
ClassHandle
CurrentPath
Endpoint
HasBetterPath
MaximumDatagramLength
ResolvedEndpoint
State
Viable
Cancel()
SetReadHandler(Action<NSArray, NSError>, nuint)
SetReadHandler(Action<NSArray, NSError>, nuint)
TryNextResolvedEndpoint()
WriteDatagram(NSData, Action<NSError>)
WriteDatagramAsync(NSData)
WriteMultipleDatagrams(NSData[], Action<NSError>)
WriteMultipleDatagramsAsync(NSData[])
xamarinios
namespace NetworkExtension
{
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
[Register("NWUDPSession", true)]
public class NWUdpSession : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("setReadHandler:maxDatagrams:")]
public virtual void SetReadHandler([BlockProxy(typeof(NIDActionArity2V94))] Action<NSArray!, NSError!>! handler, nuint maxDatagrams);
}
}
| Xamarin iOS | 0.0 |
|---|---|
| Xamarin macOS | 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