public class TaskParams extends Object

This class is deprecated.
As of November 1, 2020, GCMNetworkManager client libraries are no longer supported. GCMNetworkManager API calls no longer work on devices running Android M and later once your app targets future Android versions ( > Android 10).
Migrate to Jetpack WorkManager for your background scheduling needs.

Container of parameters handed off to the client app in onRunTask(TaskParams).

Public Constructor Summary

TaskParams(String tag, Bundle extras)
TaskParams(String tag, Bundle extras, List<Uri> triggeredUris)

Public Method Summary


Inherited Method Summary

Public Constructors

public TaskParams (String tag)

public TaskParams (String tag, Bundle extras)

public TaskParams (String tag, Bundle extras, List<Uri> triggeredUris)

Public Methods

public Bundle getExtras ()

public String getTag ()