Interface PlatformTask<T>

  • Type Parameters:
    T - task type

    public interface PlatformTask<T>
    • Method Detail

      • getObject

        @Nullable T getObject()
        Returns the actual object represented by this task/task id. Null if task cannot be instantly tracked.
        platform based object, or null if not tracked/cancellable
      • cancel

        void cancel()
        Cancels the task.
        java.lang.IllegalArgumentException - if the task is not cancellable