TKMServiceFactory

public protocol TKMServiceFactory

The Tapkey service factory provides access to core components of the Tapkey Mobile SDK. This interface is not to be implemented by consuming applications. Instead, the platform-specific factory builders are to be used to retrieve an instance.

  • Returns the user manager that can be used to log in users, retrieve all users currently logged in and log out users.

    Declaration

    Swift

    var userManager: TKMUserManager { get }
  • Returns the key manager that is used to handle keys issued by the Tapkey Trust Service for this device.

    Declaration

    Swift

    var keyManager: TKMKeyManager { get }
  • Returns the user grant manager that is used to receive UserGrants issued by the Tapkey Trust Service for the logged in user.

    Declaration

    Swift

    var userGrantManager: TKMUserGrantManager { get }
  • Returns the command execution facade that is used to build execute commands on Tapkey locks.

    Declaration

    Swift

    var commandExecutionFacade: TKMCommandExecutionFacade { get }
  • Undocumented

    Declaration

    Swift

    var cardManager: TKMCardManager { get }
  • Returns the notification manager that is used for polling information from the Tapkey Trust Service.

    Declaration

    Swift

    var notificationManager: TKMNotificationManager { get }
  • Returns the firmware manager that is used to retrieve firmware updates for Tapkey locks.

    Declaration

    Swift

    var firmwareManager: TKMFirmwareManager { get }
  • Returns the BLE (Bluetooth Low Energy) lock communicator that is used to communicate with Tapkey locks via Bluetooth.

    Declaration

    Swift

    var bleLockCommunicator: TKMBleLockCommunicator { get }
  • Returns the BLE (Bluetooth Low Energy) lock scanner that is used to scan for Tapkey locks via Bluetooth.

    Declaration

    Swift

    var bleLockScanner: TKMBleLockScanner { get }
  • Undocumented

    Declaration

    Swift

    var bleAdvertisingFormat: TKMBleAdvertisingFormat { get }
  • Returns the push notification manager that is used for handling incoming push notifications or nil if no PushNotificationTokenProvider has been set.

    Declaration

    Swift

    var pushNotificationManager: TKMPushNotificationManager? { get }
  • for internal use

    Declaration

    Swift

    var supportManager: TKMSupportManager { get }
  • for internal use

    Declaration

    Swift

    var diagnosticsHandler: NetTpkyMcDiagnosticsDiagnosticsHandler? { get }