Class VoicePolicy
Assembly: Glitch9.AIDevKit.dll
Syntax
public static class VoicePolicy
Methods
|
Edit this page
View Source
EnsureVoiceId(string, bool)
Declaration
public static string EnsureVoiceId(string currentId, bool allowNull = true)
Parameters
| Type |
Name |
Description |
| string |
currentId |
|
| bool |
allowNull |
|
Returns
|
Edit this page
View Source
GetDefaultVoice()
Declaration
public static string GetDefaultVoice()
Returns
|
Edit this page
View Source
IsDefaultVoice(string)
Declaration
public static bool IsDefaultVoice(string id)
Parameters
| Type |
Name |
Description |
| string |
id |
|
Returns
|
Edit this page
View Source
TryGetDefaultOrFallback(Api, out Voice)
Declaration
public static bool TryGetDefaultOrFallback(Api api, out Voice voice)
Parameters
| Type |
Name |
Description |
| Api |
api |
|
| Voice |
voice |
|
Returns