| Annotation Type | Description |
|---|---|
| Extra |
parameters of a
OnActivityResult annotated method can be annotated to get an extra of the IntentThe type of the variable will be automatically derived. Supported types are: boolean byte char double float int long short String Charsequence Parcelable Serializable Types implementing Parcelable or Serializable Example: |
| ExtraBoolean |
parameters of a
OnActivityResult annotated method can be annotated to get a boolean extra of the IntentExample: |
| ExtraByte |
parameters of a
OnActivityResult annotated method can be annotated to get a byte extra of the IntentExample: |
| ExtraChar |
parameters of a
OnActivityResult annotated method can be annotated to get a char extra of the IntentExample: |
| ExtraDouble |
parameters of a
OnActivityResult annotated method can be annotated to get a double extra of the IntentExample: |
| ExtraFloat |
parameters of a
OnActivityResult annotated method can be annotated to get a float extra of the IntentExample: |
| ExtraInt |
parameters of a
OnActivityResult annotated method can be annotated to get an int extra of the IntentExample: |
| ExtraLong |
parameters of a
OnActivityResult annotated method can be annotated to get a long extra of the IntentExample: |
| ExtraShort |
parameters of a
OnActivityResult annotated method can be annotated to get a short extra of the IntentExample: |
| ExtraString |
parameters of a
OnActivityResult annotated method can be annotated to get a String extra of the IntentExample: |
| IntentData |
parameters of a
OnActivityResult annotated method can be annotated to get the android.content.Intent#getData() of the intentExample: |
| OnActivityResult |
non private and non static methods can be annotated with
OnActivityResult
Example: |