Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public protocol LogDestination
  • Undocumented

    See more

    Declaration

    Swift

    public protocol Transport
  • Undocumented

    See more

    Declaration

    Swift

    public protocol Placement : Decodable, Encodable
  • Provides the interface for storing and retrieving the user DB key that the API uses to identify a user. If none is passed to an initial request, the server will generate a new one and return it. AdzerkSDK will use its configured ADZUserKeyStore to store this key.

    The default behavior is to store this value in the keychain, securely. If
    you need to store this alongside your user record instead, then you can
    create a custom implementation of `ADZUserKeyStore` and save it wherever is
    appropriate for your application.
    
    See more

    Declaration

    Swift

    public protocol UserKeyStore