QueueWorkDoneStatus


public final class QueueWorkDoneStatus


Indicates the status of a queue work done callback.

Summary

Constants

static final int

Indicates the work done notification was cancelled.

static final int
Error = 3

A deterministic error occurred.

static final int

The work was completed successfully.

Public methods

static final @NonNull String
toString(int value)

Constants

CallbackCancelled

public static final int CallbackCancelled = 2

Indicates the work done notification was cancelled. This occurs if the device is lost or the queue is destroyed before the submitted work finishes.

Error

public static final int Error = 3

A deterministic error occurred.

Success

public static final int Success = 1

The work was completed successfully.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)