You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5b97589
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/EIntentService.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
importjava.lang.annotation.Target;
22
22
23
23
/**
24
-
* Use this annotation to enhance an Android Service
24
+
* Use this annotation to enhance an Android IntentService
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/ServiceAction.java
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,24 @@
20
20
importjava.lang.annotation.RetentionPolicy;
21
21
importjava.lang.annotation.Target;
22
22
23
+
importandroid.app.IntentService;
24
+
23
25
/**
24
-
* Use this annotation to enhance an Android Service
26
+
* Should be used on a method that must respond to a specific action in an
27
+
* enhanced {@link IntentService}. The method name will be used as action name
28
+
* unless the {@link #value()} field is set.
29
+
* <p/ >
30
+
* The method signature (with attributes) will be a part of the IntentBuilder
31
+
* generated for the {@link EIntentService}.
25
32
*/
26
33
@Retention(RetentionPolicy.CLASS)
27
34
@Target(ElementType.METHOD)
28
35
public @interface ServiceAction {
29
36
37
+
/**
38
+
* Define the action's name. If this field isn't set the annotated method
0 commit comments