public static void getHdrTextureAsync(ReadableMap map, DownloadListener listener, Context context) {
        if (!map.hasKey(URI_KEY)) {
            throw new IllegalArgumentException("Missing HDR uri file path.");
        }

        Uri hdrUri = Helper.parseUri(map.getString(URI_KEY), context);
        if (hdrUri == null || hdrUri.getPath() == null ) {
            throw new IllegalArgumentException("Invalid HDR uri file path provided.");
        }

        Uri uri = Helper.parseUri(map.getString(URI_KEY), context);
        DownloadHDRAsyncTask task = new DownloadHDRAsyncTask(listener);
        task.execute(uri);
    }
Helper class for downloading HDR image data into a {@link Texture} object.
android/viro_bridge/src/main/java/com/viromedia/bridge/utility/HdrImageDownloader.java