public abstract static class JobCreator.AddJobCreatorReceiver extends BroadcastReceiver
JobCreator
s need to be added.BroadcastReceiver.PendingResult
Constructor and Description |
---|
AddJobCreatorReceiver() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addJobCreator(Context context,
JobManager manager)
Called to add a
JobCreator to this manager instance by calling JobManager.addJobCreator(JobCreator) . |
void |
onReceive(Context context,
Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public final void onReceive(Context context, Intent intent)
onReceive
in class BroadcastReceiver
protected abstract void addJobCreator(@NonNull Context context, @NonNull JobManager manager)
JobCreator
to this manager instance by calling JobManager.addJobCreator(JobCreator)
.context
- Any context.manager
- The manager instance.