Skip to content

Instantly share code, notes, and snippets.

@pfulop
Created February 11, 2017 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfulop/621be9c32fa750120fdf1c114a4e0940 to your computer and use it in GitHub Desktop.
Save pfulop/621be9c32fa750120fdf1c114a4e0940 to your computer and use it in GitHub Desktop.
public class MyTaskService extends HeadlessJsTaskService {
@Override
protected @Nullable HeadlessJsTaskConfig getTaskConfig(Intent intent) {
return new HeadlessJsTaskConfig(
"MeasureInternetz",
null,
5000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment