Protocols

The following protocols are available globally.

  • SnapscreenLoggingHandler offers an interface to receive log messages from SnapscreenKit in your application and connect logging to a custom logging framework of your choice.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenLoggingHandler

    Swift

    protocol SnapscreenLoggingHandler
  • Protocol for providing location to SnapscreenKit. Pass an implementation of this protocol to SnapscreenKit if your application already tracks user location in order to improve result quality.

    This is usually only necessary for SDK uses in apps that are supported in multiple countries.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenLocationProvider

    Swift

    protocol SnapscreenLocationProvider
  • Delegate to let the user of the SnapViewController know if manual snapping should be enabled

    See more

    Declaration

    Objective-C

    @protocol SnapscreenClipSnapViewControllerDelegate <NSObject>

    Swift

    protocol SnapscreenClipSnapViewControllerDelegate
  • Delegate for callbacks during the clip sharing process.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenClipSharingDelegate <NSObject>

    Swift

    protocol SnapscreenClipSharingDelegate
  • Provides callback from the SnapscreenSnapResultsViewController during the result selection process.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenSnapResultsViewControllerDelegate

    Swift

    protocol SnapscreenSnapResultsViewControllerDelegate
  • Provides callbacks from the SnapscreenARSnapViewController during the snapping process

    See more

    Declaration

    Objective-C

    @protocol SnapscreenARSnapViewControllerDelegate <NSObject>

    Swift

    protocol SnapscreenARSnapViewControllerDelegate
  • Provides callback from the SnapscreenSnapViewController during the snapping process.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenSnapViewControllerDelegate

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol SnapscreenKitDelegate <NSObject>

    Swift

    protocol SnapscreenKitDelegate
  • Delegate for tracking events of the Snapscreen SDK. Implement this to get informed about events from the SDK to implement tracking or statistical analysis.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenKitTrackingDelegate <NSObject>

    Swift

    protocol SnapscreenKitTrackingDelegate
  • Provides callbacks from the SnapscreenSnapper.

    See more

    Declaration

    Objective-C

    @protocol SnapscreenSnapperDelegate <NSObject>

    Swift

    protocol SnapscreenSnapperDelegate : NSObjectProtocol