One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEProvider

class · iOS 9.0+ · SDK 27.1

class NEProvider

Members (5)

method · iOS 10.0+ · Deprecated in iOS 12.0

displayMessage

TypeScript
displayMessage(message: string, completionHandler: ((arg0: boolean) => void)): void
Swift declaration
func displayMessage(_ message: String, completionHandler: @escaping @Sendable (Bool) -> Void)
init

init

TypeScript
static init(): NEProvider
Swift declaration
init()
method · iOS 9.0+

sleep

TypeScript
sleep(completionHandler: (() => void)): void
Swift declaration
func sleep() async
method · iOS 9.0+

wake

TypeScript
wake(): void
Swift declaration
func wake()
get · iOS 9.0+ · Deprecated in iOS 18.0

defaultPath

TypeScript
get defaultPath(): (NWPath) | null
Swift declaration
var defaultPath: NWPath? { get }

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NEProvider.createTCPConnection(to:enableTLS:tlsParameters:delegate:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

NEProvider.createUDPSession(to:from:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

All NetworkExtension types →