@Retention(value=CLASS)
@Target(value=PARAMETER)
public static @interface ReceiverAction.Extra
Should be used on any native, Parcelable
or
Serializable
parameter of a method annotated with
ReceiverAction
to inject the extra put in the intent parameter of
void onReceive(Context context, Intent intent)
. The key of this
extra is the value of the annotation ReceiverAction.Extra
if it
is set or the name of the parameter.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
Define the extra's name.
|
Copyright © 2010-2014. All Rights Reserved.