Name
extension Notification.Name
-
Declaration
Swift
public static let networkSharesAvailable: Notification.Name -
Declaration
Swift
public static let networkSharesStatusChange: Notification.Name -
Declaration
Swift
public static let networkShareSettingsUpdated: Notification.Name -
Subscribe to
Stateupdates for the VPN.Declaration
Swift
public static let stateDidUpdate: Notification.Name -
Subscribe to VPN profile failures updates for the VPN.
Declaration
Swift
public static let profileDidFail: Notification.Name -
iOS passive recovery stopped because another VPN displaced this profile or the profile was disabled. Offer an explicit restart.
Declaration
Swift
public static let automaticTunnelRecoverySuspended: Notification.Name -
Subscribe to Extension Tunnel State updates.
- Contains an Object Information Dictionary. [“ExtensionState”:String] You can viw the Status here https://developer.apple.com/documentation/networkextension/nevpnstatus
Declaration
Swift
public static let extensionStateUpdated: Notification.Name -
macOS: another VPN connected and stopped ours. object: its name (String).
Declaration
Swift
public static let otherVPNTookOver: Notification.Name -
macOS: the VPN reported by otherVPNTookOver went away, or ours is up again.
Declaration
Swift
public static let otherVPNReleased: Notification.Name -
Lightweight notification to be alerted for torrent use.
Declaration
Swift
public static let torrentBlocked: Notification.Name -
Lightweight notification to be alerted when the extensions daemon is ready for use.
Declaration
Swift
public static let readyDaemon: Notification.Name -
Broadcast of every daemon report_captive_networks, posted on the main queue.
- Object: [“networks”: [String]] — adapters currently behind a captive portal (empty = none).
Declaration
Swift
public static let captivePortalsDidUpdate: Notification.Name -
Broadcast of every daemon report_nag, posted on the main queue. The daemon re-sends the current type repeatedly; observers must de-duplicate.
- Object: [“type”: String] — “usage50”, “usage75”, “usage100”, “expired”, or “” (cleared).
Declaration
Swift
public static let nagDidUpdate: Notification.Name -
Broadcast of every daemon report_network_overlimit (an adapter crossed 75% or 100% of a user data cap), posted on the main queue. The daemon re-sends queued ones; observers must de-duplicate.
- Object: the raw report (“guid”, “name”, “type”, “usage”: [String: Any]).
Declaration
Swift
public static let networkOverLimitReported: Notification.Name