# Options

    class Options

Class holding option values set in the Options View & used everywhere else in the app

- `optionUseDefaultKey`

  Flag indicating if default key should be used.

  #### Declaration

  Swift

      private var optionUseDefaultKey: Bool

- `optionCustomKey`

  Custom key string

  #### Declaration

  Swift

      private var optionCustomKey: String

- `optionNameFilter`

  Name filter for scanBluetooth

  #### Declaration

  Swift

      private var optionNameFilter: String

- `optionRssiFilter`

  RSSI filter for scanBluetooth

  #### Declaration

  Swift

      private var optionRssiFilter: Int

- `optionRefreshRate`

  CardTerminal monitor refresh rate

  #### Declaration

  Swift

      private var optionRefreshRate: UInt16

- `optionThreshold`

  CardTerminal monitor battery threshold

  #### Declaration

  Swift

      private var optionThreshold: UInt8

- `optionACKEnabled`

  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

- `useDefaultKey`

  Get or set flag indicating if default key should be used.

  #### Declaration

  Swift

      var useDefaultKey: Bool { get set }

- `customKeyString`

  Get or set custom key string

  #### Declaration

  Swift

      var customKeyString: String { get set }

- `nameFilter`

  Get or set Name filter for scanBluetooth

  #### Declaration

  Swift

      var nameFilter: String { get set }

- `rssiFilter`

  Get or set RSSI filter for scanBluetooth

  #### Declaration

  Swift

      var rssiFilter: Int { get set }

- `monitorRefreshRate`

  Get or set CardTerminal monitor refresh rate

  #### Declaration

  Swift

      var monitorRefreshRate: UInt16 { get set }

- `monitorBatteryThreshold`

  Get or set CardTerminal monitor battery threshold

  #### Declaration

  Swift

      var monitorBatteryThreshold: UInt8 { get set }

- `ackEnabled`

  Get or set ACK Protocol Enabled flag

  #### Declaration

  Swift

      var ackEnabled: Bool { get set }

- `set(newOptions:)`

  Set all options from another Options instance

  #### Declaration

  Swift

      func set(newOptions: Options)

  #### Parameters

  `newOptions` | new options to set

Copyright (c) 2018-2024, AB Circle Ltd. All rights reserved.

Generated by jazzy ♪♫ v0.14.3, a Realm project.