Flutter Engine
flutter::APKAssetProvider Class Referencefinal

#include <apk_asset_provider.h>

Inheritance diagram for flutter::APKAssetProvider:

Public Member Functions

 APKAssetProvider (JNIEnv *env, jobject assetManager, std::string directory)
 ~APKAssetProvider () override
- Public Member Functions inherited from flutter::AssetResolver
 AssetResolver ()=default
virtual ~AssetResolver ()=default
virtual std::vector< std::unique_ptr< fml::Mapping > > GetAsMappings (const std::string &asset_pattern, const std::optional< std::string > &subdir) const
 Same as GetAsMapping() but returns mappings for all files who's name matches a given pattern. Returns empty vector if no matching assets are found. More...

Additional Inherited Members

- Public Types inherited from flutter::AssetResolver
enum  AssetResolverType {
 Identifies the type of AssetResolver an instance is. More...

Detailed Description

Definition at line 17 of file apk_asset_provider.h.

Constructor & Destructor Documentation

◆ APKAssetProvider()

flutter::APKAssetProvider::APKAssetProvider ( JNIEnv *  env,
jobject  assetManager,
std::string  directory 

Definition at line 16 of file apk_asset_provider.cc.

References ~APKAssetProvider().

19  : java_asset_manager_(env, jassetManager),
20  directory_(std::move(directory)) {
21  assetManager_ = AAssetManager_fromJava(env, jassetManager);
22 }

◆ ~APKAssetProvider()

flutter::APKAssetProvider::~APKAssetProvider ( )

Referenced by APKAssetProvider().

The documentation for this class was generated from the following files: