downloadMedia

Downloads media using a Media ID or URI. This method is only supported in the Gemini Developer client.

Return

A CompletableFuture that resolves to the blob data as a byte array.

Parameters

uri

The URI or Media ID of the blob.

config

Optional configuration for the download.