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.ActivityResultListenerDelegate interface for handling activity results on behalf of the mainActivity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonActivityResult(int requestCode, int resultCode, Intent data)
-
-
-
Method Detail
-
onActivityResult
boolean onActivityResult(int requestCode, int resultCode, @Nullable Intent data)- 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.
-
-