SCPInternetConnectionConfigurationBuilder

Objective-C


@interface SCPInternetConnectionConfigurationBuilder
    : SCPBuilder <SCPInternetConnectionConfiguration *>

Swift

class InternetConnectionConfigurationBuilder : SCPBuilder<InternetConnectionConfiguration>

Use this to build SCPInternetConnectionConfiguration objects.

  • Set the failIfInUse property for the SCPInternetConnectionConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPInternetConnectionConfigurationBuilder *)setFailIfInUse:
        (BOOL)failIfInUse;

    Swift

    func setFailIfInUse(_ failIfInUse: Bool) -> InternetConnectionConfigurationBuilder
  • Set the allowCustomerCancel property for the SCPInternetConnectionConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPInternetConnectionConfigurationBuilder *)setAllowCustomerCancel:
        (BOOL)allowCustomerCancel;

    Swift

    func setAllowCustomerCancel(_ allowCustomerCancel: Bool) -> InternetConnectionConfigurationBuilder