UrlHint
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Różne rodzaje wskazówek dotyczących adresów URL.
Wartości w polu enum |
HINT_UNSPECIFIED |
Brak informacji |
AMP |
Adres URL prowadzący bezpośrednio do treści AMP lub do kanonicznego adresu URL odnoszącego się do treści AMP za pomocą atrybutu <link rel="amphtml"> . |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\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`. |"]]