Package 

Enum TaskType

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum TaskType
    extends Enum<TaskType>
                        

    The type of task which is being submitted. This determines which execution queue the task will be added to.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEFAULT

      Any other task that needs to run in the background. These will typically be short-lived operations that take <100ms, such as registering a android.content.BroadcastReceiver.

      INTERNAL_REPORT

      A task that sends an internal error report to Bugsnag.

      IO

      A task that performs I/O, such as reading a file on disk. This should NOT include operations related to error/session storage - use ERROR_REQUEST or SESSION_REQUEST instead.

      SESSION_REQUEST

      A task that sends a session request. Any filesystem operations that persist/delete sessions must be submitted using this type.

      ERROR_REQUEST

      A task that sends an error request. Any filesystem operations that persist/delete errors must be submitted using this type.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait