@Retention(value=CLASS)
@Target(value=PARAMETER)
public @interface ExtraChar
OnActivityResult annotated method can be annotated to get a char extra of the Intent
@OnActivityResult(requestCode = 1)
void onResult(@ExtraChar final char extraChar) {
// Do something
}
name() or the same as the parameter namedefaultValue() you can also use the Extra annotation| Modifier and Type | Optional Element and Description |
|---|---|
char |
defaultValue |
java.lang.String |
name |