CGA_PersistentPrefs
class CGA_PersistentPrefs : RVS_PersistentPrefs
This is the subclass of the preferences type that will provide our persistent app settings.
-
This is an enumeration that will list the prefs keys for us.
See moreDeclaration
Swift
enum Keys : String
-
This is a list of the keys for our prefs. We should use the enum for the keys (rawValue).
Declaration
Swift
override var keys: [String] { get }
-
This is a Boolean value. If true, then the scan will not use duplicate filtering (meaning that it will be continuously updating).
Declaration
Swift
@objc dynamic var continuouslyUpdatePeripherals: Bool { get set }
-
This is a Boolean value. If true, then devices that are not advertising as connctable will be ignored.
Declaration
Swift
@objc dynamic var discoverOnlyConnectableDevices: Bool { get set }
-
This is a Boolean value. If true, then devices that do not have names will be included. Default is false.
Declaration
Swift
@objc dynamic var allowEmptyNames: Bool { get set }
-
This is a Boolean value. If true, then we will always send newlines as CRLF pairs. Default is false.
Declaration
Swift
@objc dynamic var alwaysUseCRLF: Bool { get set }
-
This is a Boolean value. If true, then the scan will not use duplicate filtering (meaning that it will be continuously updating).
Declaration
Swift
@objc dynamic var minimumRSSILevel: Int { get set }
-
This is an Array of String, containing the UUIDs of specific Peripherals for which we are filtering.
Declaration
Swift
@objc dynamic var peripheralFilterIDArray: [String] { get set }
-
This is an Array of String, containing the UUIDs of specific Services for which we are filtering.
Declaration
Swift
@objc dynamic var serviceFilterIDArray: [String] { get set }
-
This is an Array of String, containing the UUIDs of specific Characteristics for which we are filtering.
Declaration
Swift
@objc dynamic var characteristicFilterIDArray: [String] { get set }
-
This is a CGColor, indicating the color to use for the selected table cells. Instead of storing it, we simply return the same color.
Declaration
Swift
@objc dynamic var tableSelectionBackgroundColor: CGColor { get }
-
This is a floating-point number to be used as an alpha component. We use it for the table cells that can’t be clicked. Instead of storing it, we simply return the same alpha value.
Declaration
Swift
@objc dynamic var textColorForUnselectableCells: CGFloat { get }
-
This is the scan criteria object to be used for filtering scans. It is provided in the struct required by the Bluetooth subsystem.
Declaration
Swift
var scanCriteria: RVS_BlueThoth.ScanCriteria! { get }