URLHandlingDelegate

@objc(SFMCSdkURLHandlingDelegate)
public protocol URLHandlingDelegate

Receives Marketing Cloud URLs for your app to open or handle.

  • Called when the SDK has a URL to handle.

    Declaration

    Swift

    @objc
    func sfmc_handleURL(_ url: URL, type: String)

    Parameters

    url

    The destination URL.

    type

    Source category as a string. See URLType for the constants.