File tree Expand file tree Collapse file tree
AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 * method.
3030 * </p>
3131 * <p>
32- * The annotated method MUST return void and MAY have one parameter :
32+ * The annotated method MUST return void and MAY have several parameters :
3333 * </p>
3434 * <ul>
3535 * <li>An {@link android.content.Intent}</li>
36+ * <li>Any native, {@link android.os.Parcelable} or {@link java.io.Serializable}
37+ * parameters annotated with {@link Receiver.Extra} which will be the extra put
38+ * in the intent. The key of this extra is the value of the annotation
39+ * {@link Receiver.Extra} if set or the name of the parameter.</li>
3640 * </ul>
3741 * <p>
3842 * The annotation has four parameters:
7074 * @Receiver(actions = {@link android.net.wifi.WifiManager#WIFI_STATE_CHANGED_ACTION}, registerAt = RegisterAt.OnResumeOnPause)
7175 * public void onWifiStateChangedWithoutIntent();
7276 *
77+ * @Receiver(actions = {@link android.net.wifi.WifiManager#WIFI_STATE_CHANGED_ACTION})
78+ * public void onWifiStateChangedWithInjectedExtra(@Receiver.Extra({@link android.net.wifi.WifiManager#EXTRA_WIFI_STATE}) int wifiState);
79+ *
7380 * @Receiver(actions = {@link android.content.Intent#ACTION_VIEW}, dataSchemes = "http")
7481 * public void onHttpUrlOpened(Intent intent);
7582 *
You can’t perform that action at this time.
0 commit comments