public class

ListenableCallback.ListenableCallbackRunnable<I>

extends java.lang.Object

implements java.lang.Runnable

 java.lang.Object

↳androidx.work.multiprocess.ListenableCallback.ListenableCallbackRunnable<I>

Summary

Constructors
publicListenableCallbackRunnable(ListenableCallback<java.lang.Object> callback)

Methods
public static voidreportFailure(IWorkManagerImplCallback callback, java.lang.Throwable throwable)

Dispatches failures callbacks safely.

public static voidreportSuccess(IWorkManagerImplCallback callback, byte[] response[])

Dispatches successful callbacks safely.

public voidrun()

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

Constructors

public ListenableCallbackRunnable(ListenableCallback<java.lang.Object> callback)

Methods

public void run()

public static void reportSuccess(IWorkManagerImplCallback callback, byte[] response[])

Dispatches successful callbacks safely.

public static void reportFailure(IWorkManagerImplCallback callback, java.lang.Throwable throwable)

Dispatches failures callbacks safely.