SpeechConfig

@PublicPreviewAPI
public final class SpeechConfig


Speech configuration class for setting up the voice of the server's response.

Summary

Public fields

final @NonNull Voices

The voice to be used for the server's speech response.

Public constructors

Public fields

voice

public final @NonNull Voices voice

The voice to be used for the server's speech response.

Public constructors

SpeechConfig

public SpeechConfig(@NonNull Voices voice)