| 237 | } |
| 238 | |
| 239 | bool AndroidAssetStream::TryOpenDirectory(const Containers::StringView path) |
| 240 | { |
| 241 | AAssetDir* assetDir = AAssetManager_openDir(_nativeActivity->assetManager, path.data()); |
| 242 | if (assetDir != nullptr) { |
| 243 | AAssetDir_close(assetDir); |
| 244 | return true; |
| 245 | } |
| 246 | |
| 247 | return false; |
| 248 | } |
| 249 | |
| 250 | std::int64_t AndroidAssetStream::GetFileSize(const Containers::StringView path) |
| 251 | { |