SpeechConfig

@PublicPreviewAPI
public final class SpeechConfig


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

Summary

Public fields

final @NonNull Voice

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

Public constructors

Public fields

voice

public final @NonNull Voice voice

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

Public constructors

SpeechConfig

public SpeechConfig(@NonNull Voice voice)