SnapscreenKitDelegate

@protocol SnapscreenKitDelegate <NSObject>

Delegate for important callbacks of SnapscreenKit. Implement this to listen for any issues that might make SnapscreenKit unavailable in your application.

  • Initializing SnapscreenKit failed and Snapscreen functionality is not available to your application.

    Declaration

    Objective-C

    - (void)snapscreenKitDidFailWithError:(NSError *_Nonnull)error;

    Swift

    func snapscreenKitDidFailWithError(_ error: Any!)

    Parameters

    error

    An error object containing an error with a SnapscreenErrorCode. See SnapscreenErrorCode for a list of possible error codes.