public class

FutureValues.SimpleCallback<T>

extends java.lang.Object

implements FutureValue.Callback<java.lang.Object>

 java.lang.Object

↳androidx.pdf.data.FutureValues.SimpleCallback<T>

Subclasses:

FutureValues.BlockingCallback<T>

Overview

A convenient base implementation of FutureValue.Callback that does nothing. It assumes no failures are reported and thus handles them. Subclasses should override FutureValues.SimpleCallback.failed(Throwable) if failures are expected.

Summary

Constructors
publicSimpleCallback()

Methods
public voidavailable(java.lang.Object value)

public voidfailed(java.lang.Throwable thrown)

public voidprogress(float progress)

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public SimpleCallback()

Methods

public void available(java.lang.Object value)

public void failed(java.lang.Throwable thrown)

public void progress(float progress)

public java.lang.String toString()