public interface

FutureValue.Callback<T>

 androidx.pdf.data.FutureValue.Callback<T>

Subclasses:

FutureValues.SimpleCallback<T>, FutureValues.BlockingCallback<T>

Overview

A callback to receive the result when available.

Summary

Methods
public voidavailable(java.lang.Object value)

Gives the value when it is available.

public voidfailed(java.lang.Throwable thrown)

Gives the exception thrown while attempting to get the value.

public voidprogress(float progress)

Reports the ratio of completed to total work from 0 to 1.

Methods

public void available(java.lang.Object value)

Gives the value when it is available.

public void failed(java.lang.Throwable thrown)

Gives the exception thrown while attempting to get the value.

public void progress(float progress)

Reports the ratio of completed to total work from 0 to 1.