SCPBluetoothConnectionConfigurationBuilder
Objective-C
@interface SCPBluetoothConnectionConfigurationBuilder
: SCPBuilder <SCPBluetoothConnectionConfiguration *>
Swift
class BluetoothConnectionConfigurationBuilder : SCPBuilder<BluetoothConnectionConfiguration>
The CollectConfigurationBuilder
is used to create a CollectConfiguration
object.
-
Create a
BluetoothConnectionConfiguration
with the provided delegate and locationId.Declaration
Objective-C
- (nonnull instancetype)initWithDelegate: (nonnull id<SCPMobileReaderDelegate>)delegate locationId:(nonnull NSString *)locationId;
Swift
init(delegate: any MobileReaderDelegate, locationId: String)
-
Set the locationId property for the
BluetoothConnectionConfiguration
object that will be built.Declaration
Objective-C
- (nonnull SCPBluetoothConnectionConfigurationBuilder *)setLocationId: (nonnull NSString *)locationId;
Swift
func setLocationId(_ locationId: String) -> BluetoothConnectionConfigurationBuilder
-
Set the autoReconnectOnUnexpectedDisconnect property for the
BluetoothConnectionConfiguration
object that will be built.Declaration
Objective-C
- (nonnull SCPBluetoothConnectionConfigurationBuilder *) setAutoReconnectOnUnexpectedDisconnect: (BOOL)autoReconnectOnUnexpectedDisconnect;
Swift
func setAutoReconnectOnUnexpectedDisconnect(_ autoReconnectOnUnexpectedDisconnect: Bool) -> BluetoothConnectionConfigurationBuilder
-
Unavailable
Use
initWithLocationId:
Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Use
initWithLocationId:
Declaration
Objective-C
+ (nonnull instancetype)new;