41 std::shared_ptr<PlatformViewAndroidJNI> jni_facade,
77 std::unique_ptr<AndroidShellHolder>
Spawn(
78 std::shared_ptr<PlatformViewAndroidJNI> jni_facade,
79 const std::string& entrypoint,
80 const std::string& libraryUrl,
81 const std::string& initial_route,
82 const std::vector<std::string>& entrypoint_args,
83 int64_t engine_id)
const;
85 void Launch(std::unique_ptr<APKAssetProvider> apk_asset_provider,
86 const std::string& entrypoint,
87 const std::string& libraryUrl,
88 const std::vector<std::string>& entrypoint_args,
104 return shell_->GetPlatformMessageHandler();
114 const std::shared_ptr<PlatformViewAndroidJNI> jni_facade_;
116 std::shared_ptr<ThreadHost> thread_host_;
117 std::unique_ptr<Shell> shell_;
118 bool is_valid_ =
false;
119 uint64_t next_pointer_flow_id_ = 0;
120 std::unique_ptr<APKAssetProvider> apk_asset_provider_;
135 const std::shared_ptr<PlatformViewAndroidJNI>& jni_facade,
136 const std::shared_ptr<ThreadHost>& thread_host,
137 std::unique_ptr<Shell> shell,
138 std::unique_ptr<APKAssetProvider> apk_asset_provider,
141 static void ThreadDestructCallback(
void* value);
142 std::optional<RunConfiguration> BuildRunConfiguration(
143 const std::string& entrypoint,
144 const std::string& libraryUrl,
145 const std::vector<std::string>& entrypoint_args)
const;
147 bool IsNDKImageDecoderAvailable();
std::unique_ptr< AndroidShellHolder > Spawn(std::shared_ptr< PlatformViewAndroidJNI > jni_facade, const std::string &entrypoint, const std::string &libraryUrl, const std::string &initial_route, const std::vector< std::string > &entrypoint_args, int64_t engine_id) const
This is a factory for a derived AndroidShellHolder from an existing AndroidShellHolder.
void Launch(std::unique_ptr< APKAssetProvider > apk_asset_provider, const std::string &entrypoint, const std::string &libraryUrl, const std::vector< std::string > &entrypoint_args, int64_t engine_id)