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 locationId.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLocationId:(nonnull NSString *)locationId;

    Swift

    init(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
  • Set the autoReconnectionDelegate property for the BluetoothConnectionConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPBluetoothConnectionConfigurationBuilder *)
        setAutoReconnectionDelegate:
            (nullable id<SCPReconnectionDelegate>)autoReconnectionDelegate;

    Swift

    func setAutoReconnectionDelegate(_ autoReconnectionDelegate: ReconnectionDelegate?) -> BluetoothConnectionConfigurationBuilder
  • Unavailable

    Use initWithLocationId:

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Use initWithLocationId:

    Declaration

    Objective-C

    + (nonnull instancetype)new;