Protocols

The following protocols are available globally.

  • A delegate for implementing handlers of Salto access requests

    See more

    Declaration

    Swift

    public protocol SaltoAccessDelegate
  • A delegate for implementing a handler of Digital ID updates

    See more

    Declaration

    Swift

    public protocol DigitalIdDelegate : AnyObject
  • A delegate for implementing a handler of Notification updates

    See more

    Declaration

    Swift

    public protocol NotificationsDelegate : AnyObject
  • A delegate for implementing a handler of Salto updates

    See more

    Declaration

    Swift

    public protocol SaltoUpdateDelegate : AnyObject
  • Interface to the Gallagher mobile access SDK

    See more

    Declaration

    Swift

    public protocol MobileAccess : AnyObject
  • The Mobile Connect SDK returns various error and message structures. You may wish to serialise these to a string value and act upon them using this protocol which provides a stable programmatic string value (as opposed to description which should only be used for debugging and diagnostics)

    See more

    Declaration

    Swift

    public protocol StringValueConvertible
  • A delegate for implementing handlers on access requests

    See more

    Declaration

    Swift

    public protocol AccessDelegate : AnyObject
  • A simple protocol for passing around handles to readers.

    See more

    Declaration

    Swift

    public protocol Reader
  • A protocol that documents the attributes of a reader at a given time.

    See more

    Declaration

    Swift

    public protocol ReaderAttributes : Reader
  • An delegate for implementing a handler on readers updates

    See more

    Declaration

    Swift

    public protocol ReaderUpdateDelegate : AnyObject
  • A protocol that describes the registered mobile credential

    See more

    Declaration

    Swift

    public protocol MobileCredential
  • A delegate which helps determine the results of activating a Mobile Credential

    See more

    Declaration

    Swift

    public protocol RegistrationDelegate
  • A delegate for changes to the Feature states. All errors for Notifications, Salto, Aperio and Digital ID features will come through here.

    See more

    Declaration

    Swift

    public protocol SdkFeatureStateDelegate : AnyObject
  • A delegate to describe when the SDK changes in some way. Use this channel to find global errors or warnings from the SDK

    See more

    Declaration

    Swift

    public protocol SdkStateDelegate : AnyObject
  • A protocol that can write log messages

    See more

    Declaration

    Swift

    public protocol LogWriter
  • An object which represents a logging context for some area, for example, all the log messages for a given class

    See more

    Declaration

    Swift

    public protocol Logger : LogWriter