Obsolete Members for Job

  • Job
  • The following members of class Job are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) bool cancel()

    Signals

    (obsolete) void jobStatusChanged()
    (obsolete) void messagesChanged()

    Member Function Documentation

    [signal] void Job::jobStatusChanged()

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Signal emitted when the jobStatus property changed.

    Note: This function is deprecated in 100.14. Use Job::statusChanged instead.

    [signal] void Job::messagesChanged()

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Signal emitted when the messages for the job change.

    Note: This function is deprecated in 100.14. Use Job::messageAdded instead.

    This function was introduced in Esri::ArcGISRuntime 100.11.

    bool Job::cancel()

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Cancels the job.

    The job is canceled and goes into a failure status JobStatus::Failed. For jobs running on a server, a cancel request will be sent for the associated serverJobId. You should always cancel unneeded jobs (for example when exiting your app) to avoid placing unnecessary load on the server. For example, server-side jobs include:

    In addition, the GenerateOfflineMapJob is composed of several server-side jobs, depending on the types of layers in your Map. Canceling this high-level job will also send a cancel request to the underlying server jobs.

    Returns true if the job was canceled, false if the job already succeeded or an error occurred.

    Note: This function is deprecated in 100.15.1. Use Job::cancelAsync instead.

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