5package io.flutter.plugin.common;
10import androidx.annotation.NonNull;
11import androidx.annotation.Nullable;
12import io.flutter.embedding.engine.plugins.FlutterPlugin;
13import io.flutter.embedding.engine.plugins.activity.ActivityAware;
14import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding;
15import io.flutter.plugin.platform.PlatformViewRegistry;
16import io.flutter.view.FlutterNativeView;
17import io.flutter.view.FlutterView;
18import io.flutter.view.TextureRegistry;
369 int requestCode, @NonNull String[] permissions, @NonNull
int[] grantResults);
boolean onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
boolean onNewIntent(@NonNull Intent intent)
void registerWith(@NonNull PluginRegistry registry)
Registrar addActivityResultListener(@NonNull ActivityResultListener listener)
Registrar publish(@Nullable Object value)
Registrar addNewIntentListener(@NonNull NewIntentListener listener)
String lookupKeyForAsset(@NonNull String asset)
String lookupKeyForAsset(@NonNull String asset, @NonNull String packageName)
PlatformViewRegistry platformViewRegistry()
Registrar addViewDestroyListener(@NonNull ViewDestroyListener listener)
TextureRegistry textures()
BinaryMessenger messenger()
Registrar addRequestPermissionsResultListener( @NonNull RequestPermissionsResultListener listener)
Registrar addUserLeaveHintListener(@NonNull UserLeaveHintListener listener)
Registrar addWindowFocusChangedListener(@NonNull WindowFocusChangedListener listener)
boolean onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
boolean onViewDestroy(@NonNull FlutterNativeView view)
void onWindowFocusChanged(boolean hasFocus)
boolean hasPlugin(@NonNull String pluginKey)
< T > T valuePublishedByPlugin(@NonNull String pluginKey)
Registrar registrarFor(@NonNull String pluginKey)
std::shared_ptr< const fml::Mapping > data