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 Type
    Method
    Description
    boolean
    onActivityResult(int requestCode, int resultCode, Intent data)
     
  • Method Details

    • onActivityResult

      boolean onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
      Parameters:
      requestCode - The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.
      resultCode - The integer result code returned by the child activity through its setResult().
      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.