Options
class Options
Class holding option values set in the Options View & used everywhere else in the app
-
Flag indicating if default key should be used.
Declaration
Swift
private var optionUseDefaultKey: Bool -
Custom key string
Declaration
Swift
private var optionCustomKey: String -
Name filter for scanBluetooth
Declaration
Swift
private var optionNameFilter: String -
RSSI filter for scanBluetooth
Declaration
Swift
private var optionRssiFilter: Int -
CardTerminal monitor refresh rate
Declaration
Swift
private var optionRefreshRate: UInt16 -
CardTerminal monitor battery threshold
Declaration
Swift
private var optionThreshold: UInt8 -
Flag indicating if ACK protocol for Card Terminals should be enabled or not (for terminals with firmware 109.00 or higher only)
Declaration
Swift
private var optionACKEnabled: Bool -
Get or set flag indicating if default key should be used.
Declaration
Swift
var useDefaultKey: Bool { get set } -
Get or set custom key string
Declaration
Swift
var customKeyString: String { get set } -
Get or set Name filter for scanBluetooth
Declaration
Swift
var nameFilter: String { get set } -
Get or set RSSI filter for scanBluetooth
Declaration
Swift
var rssiFilter: Int { get set } -
Get or set CardTerminal monitor refresh rate
Declaration
Swift
var monitorRefreshRate: UInt16 { get set } -
Get or set CardTerminal monitor battery threshold
Declaration
Swift
var monitorBatteryThreshold: UInt8 { get set } -
Get or set ACK Protocol Enabled flag
Declaration
Swift
var ackEnabled: Bool { get set } -
Set all options from another Options instance
Declaration
Swift
func set(newOptions: Options)Parameters
newOptionsnew options to set
Options Class Reference