UrlHint
Enums |
HINT_UNSPECIFIED |
Non spécifiée |
AMP |
URL qui pointe directement vers une page AMP ou vers une URL canonique qui fait référence à une page AMP via <link rel="amphtml"> . |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/05/16 (UTC).
[null,null,["Dernière mise à jour le 2023/05/16 (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"]]