Interface TranscriptionSessionServiceAsync
-
- All Implemented Interfaces:
public interface TranscriptionSessionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranscriptionSessionServiceAsync.WithRawResponseA view of TranscriptionSessionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranscriptionSessionServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract TranscriptionSessionServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<TranscriptionSession>create()Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. abstract CompletableFuture<TranscriptionSession>create(TranscriptionSessionCreateParams params, RequestOptions requestOptions)CompletableFuture<TranscriptionSession>create(TranscriptionSessionCreateParams params)CompletableFuture<TranscriptionSession>create(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TranscriptionSessionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TranscriptionSessionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<TranscriptionSession> create()
Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the
transcription_session.updateclient event.It responds with a session object, plus a
client_secretkey which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.
-
create
abstract CompletableFuture<TranscriptionSession> create(TranscriptionSessionCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<TranscriptionSession> create(TranscriptionSessionCreateParams params)
-
create
CompletableFuture<TranscriptionSession> create(RequestOptions requestOptions)
-
-
-
-