UrlHint
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
HINT_UNSPECIFIED |
未指定 |
AMP |
直接指向 AMP 内容的网址,或通过 <link rel="amphtml"> 引用 AMP 内容的规范网址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThere are different types of URL hints that can be used to specify the type of content being linked to.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHINT_UNSPECIFIED\u003c/code\u003e is the default value and does not provide any specific information about the URL.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAMP\u003c/code\u003e hint indicates that the URL points to AMP content or to a canonical URL that refers to AMP content via a specific link relation.\u003c/p\u003e\n"]]],["The provided content defines different URL hint types, specifically focusing on two: `HINT_UNSPECIFIED`, which represents an unspecified URL type, and `AMP`, indicating a URL pointing directly to Accelerated Mobile Pages (AMP) content or a canonical URL linked to AMP content via `\u003clink rel=\"amphtml\"\u003e`. These hints categorize URLs based on their relationship to AMP.\n"],null,["# UrlHint\n\nDifferent types of url hints.\n\n| Enums ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------|\n| `HINT_UNSPECIFIED` | Unspecified |\n| `AMP` | URL that points directly to AMP content, or to a canonical URL which refers to AMP content via `\u003clink rel=\"amphtml\"\u003e`. |"]]