ShowDialogResponse

public class ShowDialogResponse : CustomStringConvertible

Contains the result of a show dialog request finished after calling {@link Terminal#showDialog} or {@link Terminal#showDialogAsync}. Immutable class.

  • Create show dialog response.

    Declaration

    Swift

    public init(reason: CReason,
                userInput: String?,
                cardData: CardData?)
  • Reason for closing dialog

    Declaration

    Swift

    public let reason: CReason
  • User input or null if absent.

    Declaration

    Swift

    public let userInput: String?
  • Card data or null if absent.

    Declaration

    Swift

    public let cardData: CardData?
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }