Interface TranscriptionSessionService
-
- All Implemented Interfaces:
public interface TranscriptionSessionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranscriptionSessionService.WithRawResponseA view of TranscriptionSessionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranscriptionSessionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract TranscriptionSessionServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. TranscriptionSessioncreate()Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. abstract TranscriptionSessioncreate(TranscriptionSessionCreateParams params, RequestOptions requestOptions)TranscriptionSessioncreate(TranscriptionSessionCreateParams params)TranscriptionSessioncreate(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TranscriptionSessionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TranscriptionSessionService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
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 TranscriptionSession create(TranscriptionSessionCreateParams params, RequestOptions requestOptions)
-
create
TranscriptionSession create(TranscriptionSessionCreateParams params)
-
create
TranscriptionSession create(RequestOptions requestOptions)
-
-
-
-