Protocols

The following protocols are available globally.

  • A base error protocol for SDK-generated errors.

    Declaration

    Swift

    public protocol SPError : Error
  • Delegate methods to receive events from the SDK.

    All methods will be called on the main thread.

    Usage example:

    SkyPath.shared.delegate = delegate
    
    See more

    Declaration

    Swift

    public protocol SkyPathDelegate : AnyObject