Flutter Engine
flutter::APKAssetProvider Class Referencefinal

#include <apk_asset_provider.h>

Inheritance diagram for flutter::APKAssetProvider:
flutter::AssetResolver

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
 

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 
)
explicit

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 ( )
overridedefault

Referenced by APKAssetProvider().


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