StartMode

public enum StartMode

Specifies whether to start a new Bluejay instance from scratch, or from an existing CoreBluetooth session.

  • Start Bluejay using a new CBCentralManager.

    Declaration

    Swift

    case new(StartOptions)
  • Start Bluejay using an existing CBCentralManager.

    Declaration

    Swift

    case use(manager: CBCentralManager, peripheral: CBPeripheral?)