SCPBluetoothScanDiscoveryConfiguration
Objective-C
@interface SCPBluetoothScanDiscoveryConfiguration
: NSObject <SCPDiscoveryConfiguration>
Swift
class BluetoothScanDiscoveryConfiguration : NSObject, DiscoveryConfiguration
The Bluetooth Scan discovery method searches for Stripe Terminal’s Bluetooth-capable readers.
When discovering a reader using this method, the didUpdateDiscoveredReaders
delegate method will be called multiple times as the Bluetooth scan
proceeds.
Create instances of this class using a SCPBluetoothScanDiscoveryConfigurationBuilder
.
-
The timeout (in seconds) after which
discoverReaders:
should fail. If the value is0
(the default), discoverReaders will never timeout.Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger timeout;
Swift
var timeout: UInt { get }