UrlTypeHint
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
URL_TYPE_HINT_UNSPECIFIED |
未指定 |
AMP_CONTENT |
直接指向 AMP 内容的网址,或通过 <link rel="amphtml"> 引用 AMP 内容的规范网址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe URL type hint \u003ccode\u003eURL_TYPE_HINT_UNSPECIFIED\u003c/code\u003e is a generic option when no specific information is available.\u003c/p\u003e\n"],["\u003cp\u003eThe URL type hint \u003ccode\u003eAMP_CONTENT\u003c/code\u003e is used to indicate that a URL is related to Accelerated Mobile Pages (AMP) content, either directly or through a canonical URL.\u003c/p\u003e\n"]]],["The provided content outlines URL type hints, specifically two enumerated values. `URL_TYPE_HINT_UNSPECIFIED` indicates an unspecified URL type. `AMP_CONTENT` designates a URL that directly links to AMP content or to a canonical URL referencing AMP content through the `\u003clink rel=\"amphtml\"\u003e` tag. These hints are likely used for classifying or understanding the nature of a given URL.\n"],null,["# UrlTypeHint\n\nDifferent types of url hints.\n\n| Enums ||\n|-----------------------------|------------------------------------------------------------------------------------------------------------------------|\n| `URL_TYPE_HINT_UNSPECIFIED` | Unspecified |\n| `AMP_CONTENT` | URL that points directly to AMP content, or to a canonical URL which refers to AMP content via \\\u003clink rel=\"amphtml\"\\\u003e. |"]]