Google は AI 技術を使用して、コンテンツをご希望の言語に翻訳しています。AI 翻訳には誤りが含まれる場合があります。
TAGFunctionCallTagHandler プロトコル リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
概要
カスタムタグを実行するためにアプリが実装するプロトコル。
メンバー関数のドキュメント
| - (void) 次を実行します。 |
|
(NSString *) |
tagName |
| parameters: |
|
(NSDictionary *) |
パラメータ |
|
|
| |
ハンドラには、タグ名と名前付きパラメータの辞書が提供されます。
- パラメータ:
-
| tagName | ハンドラの登録に使用した名前。これは、1 つのハンドラを複数の関数呼び出しタグに登録できるようにするために用意されています。 |
| パラメータ | 関数呼び出しの名前付きパラメータ。辞書には、NSString、NSNumber(double、int、または boolean)、NSDictionary、または NSArray を含めることができます。 |
- 戻り値:
- 評価結果(
NSString または NSNumber)。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `TAGFunctionCallTagHandler` protocol allows applications to implement custom tag execution. The key action is the `execute:parameters:` function, which receives the tag name and a dictionary of parameters. The tag name identifies the handler, allowing a single handler for multiple tags. Parameters can be strings, numbers, dictionaries, or arrays. The function's return value, representing the evaluated result, can be a string or a number.\n"]]