attributesForVoice:
指定したボイスの属性を辞書で返します
+(NSDictionary *)attributesForVoice:(NSString *)voice:
解説
指定したボイスの属性を辞書で返します。
●VoiceAge 年齢
●VoiceDemoText ボイスデモテキスト
●VoiceGender ボイス性別
●VoiceIdentifier ボイスID
●VoiceLanguage ボイス言語
●VoiceName ボイス名
返り値
( NSDictionary * )
引数
( NSString * )voice
フレームワーク
ApplicationKit
クラス
NSSpeechSynthesizer
Class Methods
使用可能
10.3
参照
例文
NSLog([[NSSpeechSynthesizer attributesForVoice:@"com.apple.speech.synthesis.voice.Fred"] description]);