Class AsyncDownloadStage
- java.lang.Object
-
- bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
-
- bg.codexio.ai.openai.api.sdk.voice.speech.AsyncDownloadStage
-
public class AsyncDownloadStage extends SpeechConfigurationStage
Configures target folder
-
-
Field Summary
-
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
executor, requestBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncPromiseStagewhenDownloadedTo(File targetFolder)Configures target folder to download to
-
-
-
Method Detail
-
whenDownloadedTo
public AsyncPromiseStage whenDownloadedTo(File targetFolder)
Configures target folder to download to- Parameters:
targetFolder-Filefolder where to download the produced audio file- Returns:
AsyncPromiseStageto register callbacks
-
-