我创建了一个循环任务,当满足某些条件时,我想取消这个循环任务。
final Job.Builder builder = dispatcher.newJobBuilder()
.setTag("myJob")
.setService(myJobService.class)
.setRecurring(true)
.setTrigger(Trigger.executionWindow(30, 60));
如何在Firebase中取消任务?