Keys

enum Keys : String

This is an enumeration that will list the prefs keys for us.

  • This will be a Boolean value. If true, then the scan will not use duplicate filtering (meaning that it will be continuously updating).

    Declaration

    Swift

    case continuouslyUpdatePeripherals = "kUpdatePeripherals"
  • This will be an Array of String, containing the UUIDs of specific Peripherals for which we are filtering.

    Declaration

    Swift

    case peripheralFilterIDArray = "kPeripheralIDs"
  • This will be an Array of String, containing the UUIDs of specific Services for which we are filtering.

    Declaration

    Swift

    case serviceFilterIDArray = "kServiceIDs"
  • This will be an Array of String, containing the UUIDs of specific Characteristics for which we are filtering.

    Declaration

    Swift

    case characteristicFilterIDArray = "kCharacteristicIDs"
  • This will be a signed Integer, with the minimum RSSI.

    Declaration

    Swift

    case minimumRSSILevel = "kMinimumRSSILevel"
  • This will be a Bool, true, if we are filtering out non-connectable devices.

    Declaration

    Swift

    case discoverOnlyConnectableDevices = "kOnlyConnectables"
  • This will be a Bool, true, if we are allowing devices that don’t have names to be discovered.

    Declaration

    Swift

    case allowEmptyNames = "kAllowEmptyNames"
  • This will be a Bool, true, if we will always force endline/carriage returns to be CRLF pairs.

    Declaration

    Swift

    case alwaysUseCRLF = "kAlwaysUseCRLF"
  • This will be a CGColor, indicating the color to use for the selected table cells.

    Declaration

    Swift

    case tableSelectionBackgroundColor = "kBackgroundColorForTableSelection"
  • This is a floating-point number to be used as an alpha component.

    Declaration

    Swift

    case textColorForUnselectableCells = "kTextColorForUnselectableCells"
  • These are all the keys, in an Array of String.

    Declaration

    Swift

    static var allKeys: [String] { get }