JobMessage Class

  • JobMessage
  • class Esri::ArcGISRuntime::JobMessage

    An informational message about the execution of a Job. More...

    Header: #include <JobMessage.h>
    Since: Esri::ArcGISRuntime 100.0

    Public Functions

    JobMessage()
    JobMessage(const Esri::ArcGISRuntime::JobMessage &other)
    JobMessage(Esri::ArcGISRuntime::JobMessage &&other)
    ~JobMessage()
    bool isEmpty() const
    QString message() const
    Esri::ArcGISRuntime::JobMessageSeverity severity() const
    Esri::ArcGISRuntime::JobMessageSource source() const
    QDateTime timeStamp() const
    Esri::ArcGISRuntime::JobMessage &operator=(const Esri::ArcGISRuntime::JobMessage &other)
    Esri::ArcGISRuntime::JobMessage &operator=(Esri::ArcGISRuntime::JobMessage &&other)

    Detailed Description

    Note: This class is not default constructible internally, but a default constructor is provided for convenience. If the default constructor is used, the object will be empty. Calling any method on an empty object is undefined behavior and any values returned should not be relied upon.

    See also isEmpty.

    Member Function Documentation

    JobMessage::JobMessage()

    Default constructor.

    Note: This is provided for convenience and produces an empty object.

    See also isEmpty.

    JobMessage::JobMessage(const Esri::ArcGISRuntime::JobMessage &other)

    Copy constructor from other JobMessage.

    JobMessage::JobMessage(Esri::ArcGISRuntime::JobMessage &&other)

    Move constructor from other JobMessage.

    JobMessage::~JobMessage()

    Destructor.

    bool JobMessage::isEmpty() const

    Returns true if this JobMessage is empty.

    QString JobMessage::message() const

    Returns the message contents.

    [since Esri::ArcGISRuntime 100.4] Esri::ArcGISRuntime::JobMessageSeverity JobMessage::severity() const

    Returns the severity of the job message: information, warning or error.

    This function was introduced in Esri::ArcGISRuntime 100.4.

    [since Esri::ArcGISRuntime 100.4] Esri::ArcGISRuntime::JobMessageSource JobMessage::source() const

    Returns the source of the job message, either from the service or from this API.

    This function was introduced in Esri::ArcGISRuntime 100.4.

    [since Esri::ArcGISRuntime 100.4] QDateTime JobMessage::timeStamp() const

    Returns the date and time that the message was created.

    The timestamp is in the current system time of the user's device, formatted as UTC.

    This function was introduced in Esri::ArcGISRuntime 100.4.

    Esri::ArcGISRuntime::JobMessage &JobMessage::operator=(const Esri::ArcGISRuntime::JobMessage &other)

    Assignment operator from other JobMessage.

    Esri::ArcGISRuntime::JobMessage &JobMessage::operator=(Esri::ArcGISRuntime::JobMessage &&other)

    Move operator from other JobMessage.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.