SCPInternetConnectionConfiguration
Objective-C
@interface SCPInternetConnectionConfiguration : SCPConnectionConfiguration
Swift
class InternetConnectionConfiguration : ConnectionConfiguration
This class lets you set options that define internet reader behavior throughout a given reader-to-SDK connection session.
-
The InternetReaderDelegate to use for this connection to the reader.
Declaration
Objective-C
@property (nonatomic, weak, readonly) id<SCPInternetReaderDelegate> _Nullable delegate;Swift
weak var delegate: (any InternetReaderDelegate)? { get } -
When set to true, the connection will automatically error if the reader is already connected to a device and collecting payment. When set to false, this will allow you to connect to a reader already connected to another device, and will break the existing reader-to-SDK connection on the other device when it attempts to collect payment.
If
Terminal.connectReaderis invoked without aSCPInternetConnectionConfiguration, thenfailIfInUsedefaults toNO.Declaration
Objective-C
@property (nonatomic, readonly) BOOL failIfInUse;Swift
var failIfInUse: Bool { get } -
Unavailable
Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
Declaration
Objective-C
+ (nonnull instancetype)new;