WaitStateReturn

@objc open class WaitStateReturn: NSObject

Wrapper object used for returning the wait state of the UI. Encapsulates both the WaitState enumeration, and the optional string message.

  • Initializes wrapper with given WaitState and message

    Declaration

    Swift

    public init(state: WaitState, message: String?)

    Parameters

    state

    WaitState enumeration

    message

    Optional message to include.

  • Initializes wrapper with given WaitState and message with positional parameters.

    Declaration

    Swift

    public init(_ state: WaitState, _ message: String?)

    Parameters

    state

    WaitState enumeration

    message

    Optional message to include.

  • Initializes wrapper with given WaitState. Message string is nil.

    Declaration

    Swift

    public init(state: WaitState)

    Parameters

    state

    WaitState enumeration

  • Initializes wrapper with given WaitState. Message string is nil.

    Declaration

    Swift

    public init(_ state: WaitState)

    Parameters

    state

    WaitState enumeration