Interface TranscriptionSessionService
-
- All Implemented Interfaces:
public interface TranscriptionSessionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
TranscriptionSessionService.WithRawResponse
A view of TranscriptionSessionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranscriptionSessionService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract TranscriptionSessionService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. TranscriptionSession
create()
Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. abstract TranscriptionSession
create(TranscriptionSessionCreateParams params, RequestOptions requestOptions)
TranscriptionSession
create(TranscriptionSessionCreateParams params)
TranscriptionSession
create(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.update
client event.It responds with a session object, plus a
client_secret
key 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)
-
-
-
-