downloadMedia

public Array<byte> downloadMedia(String uri, DownloadMediaConfig config)

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

Return

The blob data as a byte array.

Parameters

uri

The URI or Media ID of the blob.

config

Optional configuration for the download.