- 操作 ID
actions.intent.PLAY_GAME
- 说明
- 玩游戏。如果您的 Action 是一款游戏,那么您必须注册此内置 intent,才符合隐式调用的条件。
- 示例查询
- JSON-LD 示例
-
[ { "exampleValues": [ { "@context": "https://schema.org", "description": "cute animals", "genre": "adventure", "name": "Example Game 1", "schemaType": "Game" } ], "name": "game", "schemaType": [] } ]
玩游戏
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe \u003ccode\u003eactions.intent.PLAY_GAME\u003c/code\u003e built-in intent allows users to launch games through Google Assistant and is required for implicit invocation of game Actions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must register their game Action for this intent and provide JSON-LD schema specifying game details like name, genre, and description to enable game discovery and engagement.\u003c/p\u003e\n"],["\u003cp\u003eUsers can trigger this intent with phrases like "Play a game" or "Play a trivia game", allowing for a natural and intuitive way to access games.\u003c/p\u003e\n"]]],[],null,["# Play game\n\nAction ID\n: `actions.intent.PLAY_GAME`\n\nDescription\n: Play a game. If your Action is a game, you must register for this built-in intent in order to be eligible for implicit invocation.\n\nExample queries\n:\n\n #### en-US\n\n - Play a game.\n - Play a trivia game.\n\nJSON-LD sample\n:\n\n ```transact-sql\n [\n {\n \"exampleValues\": [\n {\n \"@context\": \"https://schema.org\",\n \"description\": \"cute animals\",\n \"genre\": \"adventure\",\n \"name\": \"Example Game 1\",\n \"schemaType\": \"Game\"\n }\n ],\n \"name\": \"game\",\n \"schemaType\": []\n }\n ]\n ```"]]