InitialLoaderDelegate

@objc(DTInitialLoaderDelegate)
public protocol InitialLoaderDelegate

Callback invoked by the SDK when the custom initial loader must be dismissed.

Important

The SDK does not invoke the callback when nothing has to be shown throughout the process. Make sure you dismiss the loading animation at the end of the transaction if the SDK hasn’t done so already.
  • Invoked when SDK content needs to be presented. The app must dismiss/hide its custom loading animation immediately. For the remainder of the process the SDK’s loading animation is used.

    Declaration

    Swift

    func dismissLoader()