final class TransientBundleCompat extends Object
Modifier and Type | Method and Description |
---|---|
static void |
cancel(Context context,
int jobId,
PendingIntent pendingIntent) |
static boolean |
isScheduled(Context context,
int jobId) |
static void |
persistBundle(Context context,
JobRequest request) |
static boolean |
startWithTransientBundle(Context context,
JobRequest request) |
public static void persistBundle(@NonNull Context context, @NonNull JobRequest request)
public static boolean startWithTransientBundle(@NonNull Context context, @NonNull JobRequest request)
public static boolean isScheduled(Context context, int jobId)
public static void cancel(@NonNull Context context, int jobId, @Nullable PendingIntent pendingIntent)