BKOutputElement

open class BKOutputElement: NSObject, NSSecureCoding

Read only data object for data of BLE discover and resolving process.

BKOutputElement is returned by delegates of the BKClient functions for discovery and resolve of BLE modules.

It is an combination of data that is encapsulated in specific data objects:

  • BKInputElement: input data that is created by discovery process (blukii number) or external inputs (NFC tag id, scan of barcodes). A cnversion of the BKInputelement.tagID is saved in id
  • BKDiscoveryData: emitted data of the BLE module
  • BKResolveData: resolved data requested from blukii Info Manager (https://manager.blukiiinfo.com) The state of resolve process is saved by resolveState
  • id

    The blukii number of the OutputElement

    In Some cases it is a coversion of the input tag id (see BKInputElement.tagID)

    If it is an iBeacon the id is <UUID><Major><Minor>

    Declaration

    Swift

    internal(set) open var id: String
  • The state whether data has been resolved for this BKOutputElement

    For more information of the enum state, see BKOutuputElement.ResolveState and BKResolveData

    Default value is ResolceState.UNRESOLVED

    Declaration

    Swift

    internal(set) open var resolveState = ResolveState.unresolved
  • The resolved data from blukii Info Manager (https://manager.blukiiinfo.com)

    For more information see BKResolveData

    returns the data object of resolved data

    Declaration

    Swift

    internal(set) open var resolveData: BKResolveData?
  • The emitted BLE data of one module

    For more information see BKDiscoveryData

    returns data object of discovered BLE data

    Declaration

    Swift

    internal(set) open var discoveryData: BKDiscoveryData?
  • The input data (tag id and type)

    For more Information see BKInputElement

    returns data object of input data

    Declaration

    Swift

    internal(set) open var inputElement: BKInputElement?