PROTOCOL

HaapiFlowDeepLinkable

public protocol HaapiFlowDeepLinkable: AnyObject

An interface declaration for Haapi operations that can handle deep links. When receiving a deep link, invoke first canHandleUrl to assess the URL. If it returns true, invoke handleUrl.

Methods

canHandleUrl(_:)

func canHandleUrl(_ url: URL) -> Bool

Returns a Bool whether the url can be handled.

handleUrl(_:)

func handleUrl(_ url: URL)

Handles the url. If the url cannot be handled, a fatalError is invoked.