TestListenableWorkerBuilderKt

public final class TestListenableWorkerBuilderKt


Summary

Public methods

static final @NonNull TestListenableWorkerBuilder<@NonNull W>
<W extends ListenableWorker> TestListenableWorkerBuilder(
    @NonNull Context context,
    @NonNull Data inputData,
    @NonNull List<@NonNull String> tags,
    int runAttemptCount,
    @NonNull List<@NonNull Uri> triggeredContentUris,
    @NonNull List<@NonNull String> triggeredContentAuthorities
)

Builds an instance of TestListenableWorkerBuilder.

Public methods

TestListenableWorkerBuilder

@NonNull
public static final TestListenableWorkerBuilder<@NonNull W> <W extends ListenableWorker> TestListenableWorkerBuilder(
    @NonNull Context context,
    @NonNull Data inputData,
    @NonNull List<@NonNull String> tags,
    int runAttemptCount,
    @NonNull List<@NonNull Uri> triggeredContentUris,
    @NonNull List<@NonNull String> triggeredContentAuthorities
)

Builds an instance of TestListenableWorkerBuilder.

Parameters
<W extends ListenableWorker>

The subtype of ListenableWorker

@NonNull Context context

The application Context

@NonNull Data inputData

The input data for the ListenableWorker

int runAttemptCount

The run attempt count of the ListenableWorker

@NonNull List<@NonNull Uri> triggeredContentUris

The list of triggered content Uris

@NonNull List<@NonNull String> triggeredContentAuthorities

The list of triggered content authorities