API version 17
iOSAndroidWindows
説明 |
現在使用している音声情報を取得します。
|
|
呼出形式 |
var vo = synthesizer.GetCurrentVoice( )
|
|
戻り値 |
Voiceクラスオブジェクトへのリファレンス
|
|
引数 |
なし
|
|
例外 |
SPEECH-1 |
音声合成機能がロードされていません。
|
使用例 |
var synthesizer = new SpeechSynthesizer(); synthesizer.Load(); var vo = synthesizer.GetCurrentVoice(); print("Current Voice ID:" + vo.ID + "\n"); print("Current Voice name:" + vo.VoiceName + "\n"); print("Current Voice language:" + vo.Language + "\n");
|
|
関連項目 |
Voiceクラス |