# Firebase.AI.SpeakerVoiceConfig

Configures a participating speaker within a multi-speaker setup.

## Summary

Warning: This API is in Public Preview, which means that the feature is not subject to any SLA or deprecation policy and could change in backwards-incompatible ways.

| ### Properties ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config_1ab2c55a8ba2632568592ebb9f9e45b778` | `string` The name of the speaker. |
| `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config_1a16ec208174c14edd61c21cf3913a8f37` | `string` The name of the voice. |

| ### Public static functions ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config_1ae4836c9c68cd244255cf08b37e7e33f5(string speaker, string voiceName)` | `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config` Create a new `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config` using a prebuilt voice. |

## Properties

### Speaker

```c#
string Firebase::AI::SpeakerVoiceConfig::Speaker
```
The name of the speaker.

### VoiceName

```c#
string Firebase::AI::SpeakerVoiceConfig::VoiceName
```
The name of the voice.

## Public static functions

### UsePrebuiltVoice

```c#
SpeakerVoiceConfig Firebase::AI::SpeakerVoiceConfig::UsePrebuiltVoice(
  string speaker,
  string voiceName
)
```
Create a new `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/speaker-voice-config#struct_firebase_1_1_a_i_1_1_speaker_voice_config` using a prebuilt voice.

<br />

Details Parameters `speaker` `voiceName` **Returns**