UrlHint
Different types of url hints.
Enums |
HINT_UNSPECIFIED |
Unspecified |
AMP |
URL that points directly to AMP content, or to a canonical URL which refers to AMP content via <link rel="amphtml"> . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["There are different types of URL hints that can be used to specify the type of content being linked to."],["`HINT_UNSPECIFIED` is the default value and does not provide any specific information about the URL."],["`AMP` hint indicates that the URL points to AMP content or to a canonical URL that refers to AMP content via a specific link relation."]]],["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"]]