Created
February 11, 2017 12:57
-
-
Save pfulop/621be9c32fa750120fdf1c114a4e0940 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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