DeeplinkProcessingResult

public struct DeeplinkProcessingResult

DeeplinkProcessingResult, returned from different deeplink processors.

  • The deeplink that was processed.

    Declaration

    Swift

    public var deeplink: Deeplink
  • Whether the processing of the deeplink was successful or not.

    Declaration

    Swift

    public var success: Bool
  • Optional resource. Some deeplink processes such as SSO login returns the resource that was unlocked.

    Declaration

    Swift

    public var resource: String?
  • Error that might have occured during the processing of the deeplink.

    Declaration

    Swift

    public var error: UsherErrorProtocol?
  • Initializer

    Declaration

    Swift

    public init(deeplink: Deeplink, success: Bool, resource: String? = nil, error: UsherErrorProtocol? = nil)
    Parameters
    deeplink

    deeplink

    success

    success

    resource

    resource name

    error

    error