macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

0-04-04から1日間の記事一覧

initWithVoice:

指定したボイスで、ボイスオブジェクトを初期化して返します -(id)initWithVoice:(NSString *)voice: 解説 指定したボイスで、ボイスオブジェクトを初期化して返します。 返り値 ( id ) オブジェクト() 引数 ( NSString * )voice フレームワーク Applicati…

delegate

デリゲートを返します 解説 デリゲートを返します。 返り値 ( id ) オブジェクト() 引数 フレームワーク ApplicationKit クラス NSSpeechSynthesizer Instance Methods 使用可能 10.3 参照 -setDelegate: 例文 NSLog([[speech delegate] description]);

isAnyApplicationSpeaking

アプリケーションやシステムで、現在スピーチ中かを返します 解説 アプリケーションやシステムで、現在スピーチ中かを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSSpeechSynthesizer Class Methods 使用可能 10.3 参照 …

defaultVoice

初期設定のボイス名を返します 解説 初期設定のボイス名を返します。 通常は"com.apple.speech.synthesis.voice.Victoria"です。 返り値 ( NSString * ) 文字列 引数 フレームワーク ApplicationKit クラス NSSpeechSynthesizer Class Methods 使用可能 10.3…

availableVoices

現在使用することのできるボイスを配列で返します 解説 現在使用することのできるボイスを配列で返します。 初期設定のボイス "com.apple.speech.synthesis.voice.Agnes", "com.apple.speech.synthesis.voice.Albert", "com.apple.speech.synthesis.voice.Ba…

attributesForVoice:

指定したボイスの属性を辞書で返します +(NSDictionary *)attributesForVoice:(NSString *)voice: 解説 指定したボイスの属性を辞書で返します。 ●VoiceAge 年齢 ●VoiceDemoText ボイスデモテキスト ●VoiceGender ボイス性別 ●VoiceIdentifier ボイスID ●Voi…

speechRecognizer:didRecognizeCommand:

コマンドを認識したときに呼び出されます -(void)speechRecognizer:(NSSpeechRecognizer *)sender: didRecognizeCommand:(id)command: 解説 コマンドを認識したときに呼び出されます。 デリゲートでの実装 返り値 ( void ) なし 引数 ( NSSpeechRecognizer *…

stopListening

音声認識を停止します 解説 音声認識を停止します。 返り値 ( void ) なし 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -startListening 例文 [recog stopListening];

startListening

音声認識を開始します 解説 音声認識を開始します。 返り値 ( void ) なし 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -stopListening 例文 [recog startListening];

setListensInForegroundOnly:

前面のアプリケーションになっているときだけ音声認識するかをセットします -(void)setListensInForegroundOnly:(BOOL)flag: 解説 前面のアプリケーションになっているときだけ音声認識するかをセットします。 返り値 ( void ) なし 引数 ( BOOL )flag フレ…

setDisplayedCommandsTitle:

表示するコマンドタイトルを表示します -(void)setDisplayedCommandsTitle:(NSString *)title: 解説 表示するコマンドタイトルを表示します。 返り値 ( void ) なし 引数 ( NSString * )title フレームワーク ApplicationKit クラス NSSpeechRecognizer Inst…

setDelegate:

デリゲートをセットします -(void)setDelegate:(id)anObject: 解説 デリゲートをセットします。 返り値 ( void ) なし 引数 ( id )anObject フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -delegate 例文 […

setCommands:

コマンドを配列でセットします -(void)setCommands:(NSArray *)commands: 解説 コマンドを配列でセットします。 返り値 ( void ) なし 引数 ( NSArray * )commands フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3…

setBlocksOtherRecognizers:

他の音声認識をブロックするかをセットします -(void)setBlocksOtherRecognizers:(BOOL)flag: 解説 他の音声認識をブロックするかをセットします。 返り値 ( void ) なし 引数 ( BOOL )flag フレームワーク ApplicationKit クラス NSSpeechRecognizer Instan…

listensInForegroundOnly

フォアグラウンドのみで音声認識するかを返します 解説 フォアグラウンドのみで音声認識するかを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -setListensInForeg…

init

音声認識オブジェクトを初期化して返します 解説 音声認識オブジェクトを初期化して返します。 返り値 ( id ) オブジェクト() 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 例文 NSSpeechRecognize…

displayedCommandsTitle

表示コマンドタイトルを返します 解説 表示コマンドタイトルを返します。 返り値 ( NSString * ) 文字列 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -setDisplayedCommandsTitle: 例文 NSLog([[rec…

delegate

デリゲートを返します 解説 デリゲートを返します。 返り値 ( id ) オブジェクト() 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -setDelegate: 例文 NSLog([[recog delegate] description]);

commands

音声認識コマンドを返します 解説 音声認識コマンドを返します。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -setCommands: 例文 NSLog([[recog commands] description]…

blocksOtherRecognizers

他の音声認識をブロックするかを返します 解説 他の音声認識をブロックするかを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSSpeechRecognizer Instance Methods 使用可能 10.3 参照 -setBlocksOtherRecognizers: 例文 (…