public class

ParcelableWorkContinuationImpl.WorkContinuationImplInfo

extends java.lang.Object

 java.lang.Object

↳androidx.work.multiprocess.parcelable.ParcelableWorkContinuationImpl.WorkContinuationImplInfo

Overview

Holds all the information that needs to be tracked inside a WorkContinuation.

Summary

Constructors
publicWorkContinuationImplInfo(java.lang.String name, ExistingWorkPolicy workPolicy, java.util.List<WorkRequest> requests, java.util.List<ParcelableWorkContinuationImpl.WorkContinuationImplInfo> parents)

publicWorkContinuationImplInfo(WorkContinuationImpl continuation)

Methods
public ExistingWorkPolicygetExistingWorkPolicy()

public java.lang.StringgetName()

public java.util.List<ParcelableWorkContinuationImpl.WorkContinuationImplInfo>getParentInfos()

public java.util.List<WorkRequest>getWork()

public WorkContinuationImpltoWorkContinuationImpl(WorkManagerImpl workManager)

Converts an instance of ParcelableWorkContinuationImpl.WorkContinuationImplInfo to a WorkContinuation.

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

Constructors

public WorkContinuationImplInfo(WorkContinuationImpl continuation)

public WorkContinuationImplInfo(java.lang.String name, ExistingWorkPolicy workPolicy, java.util.List<WorkRequest> requests, java.util.List<ParcelableWorkContinuationImpl.WorkContinuationImplInfo> parents)

Methods

public java.lang.String getName()

public ExistingWorkPolicy getExistingWorkPolicy()

public java.util.List<WorkRequest> getWork()

public java.util.List<ParcelableWorkContinuationImpl.WorkContinuationImplInfo> getParentInfos()

public WorkContinuationImpl toWorkContinuationImpl(WorkManagerImpl workManager)

Converts an instance of ParcelableWorkContinuationImpl.WorkContinuationImplInfo to a WorkContinuation.

Parameters:

workManager: The WorkManagerImpl instance.

Returns:

The WorkContinuationImpl instance