5package io.flutter.embedding.engine.plugins;
8import androidx.annotation.NonNull;
9import androidx.annotation.Nullable;
10import androidx.lifecycle.Lifecycle;
11import io.flutter.embedding.engine.FlutterEngine;
12import io.flutter.embedding.engine.FlutterEngineGroup;
13import io.flutter.plugin.common.BinaryMessenger;
14import io.flutter.plugin.platform.PlatformViewRegistry;
15import io.flutter.view.TextureRegistry;
106 private final Context applicationContext;
115 @NonNull Context applicationContext,
122 this.applicationContext = applicationContext;
123 this.flutterEngine = flutterEngine;
124 this.binaryMessenger = binaryMessenger;
125 this.textureRegistry = textureRegistry;
126 this.platformViewRegistry = platformViewRegistry;
127 this.flutterAssets = flutterAssets;
133 return applicationContext;
143 return flutterEngine;
148 return binaryMessenger;
153 return textureRegistry;
158 return platformViewRegistry;
163 return flutterAssets;
TextureRegistry getTextureRegistry()
FlutterEngineGroup getEngineGroup()
PlatformViewRegistry getPlatformViewRegistry()
FlutterEngine getFlutterEngine()
FlutterPluginBinding( @NonNull Context applicationContext, @NonNull FlutterEngine flutterEngine, @NonNull BinaryMessenger binaryMessenger, @NonNull TextureRegistry textureRegistry, @NonNull PlatformViewRegistry platformViewRegistry, @NonNull FlutterAssets flutterAssets, @Nullable FlutterEngineGroup group)
FlutterAssets getFlutterAssets()
BinaryMessenger getBinaryMessenger()
Context getApplicationContext()
String getAssetFilePathBySubpath(@NonNull String assetSubpath)
String getAssetFilePathBySubpath(@NonNull String assetSubpath, @NonNull String packageName)
String getAssetFilePathByName(@NonNull String assetFileName)
String getAssetFilePathByName(@NonNull String assetFileName, @NonNull String packageName)
void onAttachedToEngine(@NonNull FlutterPluginBinding binding)
void onDetachedFromEngine(@NonNull FlutterPluginBinding binding)