PrivacySettings

public struct PrivacySettings

Current privacy settings

  • If crash reporting is enabled. @deprecated since 10.5 @since 6.3

    Declaration

    Swift

    @available(*, deprecated, message: "Deprecated since 10.5")
    public var crashReports: Bool
  • Configured DNS server addresses to use. Or empty for default.

    Declaration

    Swift

    public var dnsAddresses: [String]?
  • If credentials, including oauth tokens and passwords, are not stored locally. If true, automatic login and connect at boot will not work. @since 10.5

    Declaration

    Swift

    public var doNotStoreCredentials: Bool
  • Allows other apps to bind their sockets around the VPN tunnel, directly on other network adapters. @since 11.9.2

    Declaration

    Swift

    public var ipLeakProtection: Bool
  • Whether DoH is requested to be disabled. @since 12.2

    Declaration

    Swift

    public var requestToDisableDoH: Bool
  • Whether onDemand is requested to be enabled @since 12.7

    Declaration

    Swift

    public var onDemand: Bool
  • Whether killswitch is requested to be enabled @since 12.7

    Declaration

    Swift

    public var killswitch: Bool
  • Declaration

    Swift

    public init(json: [String : Any])