public class

RemoteWorkManagerClient.SessionRemoteCallback

extends RemoteCallback

 java.lang.Object

↳IWorkManagerImplCallback.Stub

androidx.work.multiprocess.RemoteCallback

↳androidx.work.multiprocess.RemoteWorkManagerClient.SessionRemoteCallback

Overview

An extension of RemoteCallback that kills a RemoteWorkManagerClient.Session after a timeout has elapsed.

Summary

Constructors
publicSessionRemoteCallback(RemoteWorkManagerClient client)

Methods
protected voidonRequestCompleted()

This method can be used by RemoteCallback implementations to keep track of the lengths of the session after completion of a request.

from RemoteCallbackgetFuture, onFailure, onSuccess, setBinder
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SessionRemoteCallback(RemoteWorkManagerClient client)

Methods

protected void onRequestCompleted()

This method can be used by RemoteCallback implementations to keep track of the lengths of the session after completion of a request.