SCPInternetConnectionConfigurationBuilder
Objective-C
@interface SCPInternetConnectionConfigurationBuilder
: SCPBuilder <SCPInternetConnectionConfiguration *>
Swift
class InternetConnectionConfigurationBuilder : SCPBuilder<InternetConnectionConfiguration>
Use this to build SCPInternetConnectionConfiguration objects.
-
Create an
InternetConnectionConfigurationBuilderwith the provided delegate.Declaration
Objective-C
- (nonnull instancetype)initWithDelegate: (nonnull id<SCPInternetReaderDelegate>)delegate;Swift
init(delegate: any InternetReaderDelegate) -
Set the
failIfInUseproperty for theSCPInternetConnectionConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPInternetConnectionConfigurationBuilder *)setFailIfInUse: (BOOL)failIfInUse;Swift
func setFailIfInUse(_ failIfInUse: Bool) -> InternetConnectionConfigurationBuilder -
Set the
allowCustomerCancelproperty for theSCPInternetConnectionConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPInternetConnectionConfigurationBuilder *)setAllowCustomerCancel: (BOOL)allowCustomerCancel;Swift
func setAllowCustomerCancel(_ allowCustomerCancel: Bool) -> InternetConnectionConfigurationBuilder -
Unavailable
Use
initWithDelegate:Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
Use
initWithDelegate:Declaration
Objective-C
+ (nonnull instancetype)new;