Package io.flutter.plugin.common
Interface PluginRegistry.ActivityResultListener
- All Known Subinterfaces:
FlutterActivityEvents
- All Known Implementing Classes:
FlutterActivityDelegate
,FlutterPluginRegistry
- Enclosing interface:
- PluginRegistry
public static interface PluginRegistry.ActivityResultListener
Delegate interface for handling activity results on behalf of the main
Activity
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
onActivityResult
(int requestCode, int resultCode, Intent data)
-
Method Details
-
onActivityResult
- Parameters:
requestCode
- The integer request code originally supplied tostartActivityForResult()
, allowing you to identify who this result came from.resultCode
- The integer result code returned by the child activity through itssetResult()
.data
- An Intent, which can return result data to the caller (various data can be attached to Intent "extras").- Returns:
- true if the result has been handled.
-