AI2 Component
(Version nb184)
|
Public Member Functions | |
void | resultReturned (int requestCode, int resultCode, Intent data) |
Callback for receiving Activity results
Definition at line 16 of file ActivityResultListener.java.
void com.google.appinventor.components.runtime.ActivityResultListener.resultReturned | ( | int | requestCode, |
int | resultCode, | ||
Intent | data | ||
) |
The callback method used to report Activity results back to the caller.
requestCode | the originally passed in request code. Used to identify the call. |
resultCode | the returned result code: android.app.Activity#RESULT_OK or android.app.Activity#RESULT_CANCELED |
data | the returned data, encapsulated as an Intent. |
Implemented in com.google.appinventor.components.runtime.Texting, com.google.appinventor.components.runtime.ActivityStarter, com.google.appinventor.components.runtime.Twitter, com.google.appinventor.components.runtime.ListPicker, com.google.appinventor.components.runtime.PhoneCall, com.google.appinventor.components.runtime.ContactPicker, com.google.appinventor.components.runtime.Camera, com.google.appinventor.components.runtime.BarcodeScanner, com.google.appinventor.components.runtime.ImagePicker, com.google.appinventor.components.runtime.Camcorder, com.google.appinventor.components.runtime.PhoneNumberPicker, com.google.appinventor.components.runtime.util.ExternalTextToSpeech, and com.google.appinventor.components.runtime.IntentBasedSpeechRecognizer.