| 226 | } |
| 227 | |
| 228 | bool AndroidAssetStream::TryOpenFile(const Containers::StringView path) |
| 229 | { |
| 230 | AAsset* asset = AAssetManager_open(_nativeActivity->assetManager, path.data(), AASSET_MODE_UNKNOWN); |
| 231 | if (asset != nullptr) { |
| 232 | AAsset_close(asset); |
| 233 | return true; |
| 234 | } |
| 235 | |
| 236 | return false; |
| 237 | } |
| 238 | |
| 239 | bool AndroidAssetStream::TryOpenDirectory(const Containers::StringView path) |
| 240 | { |