Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Job myJob = firebaseJobDispatcher.newJobBuilder()
.setService(SmartService.class)
.setTag(SmartService.LOCATION_SMART_JOB)
.setReplaceCurrent(false)
.setConstraints(ON_ANY_NETWORK)
.build();
firebaseJobDispatcher.mustSchedule(myJob);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment