Uri
Zapis JSON |
{
"kind": string,
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
},
"id": string
} |
Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#uri" .
|
uri |
string
Lokalizacja strony internetowej, obrazu lub innego zasobu. Identyfikatory URI w module LinksModuleData mogą mieć różne prefiksy wskazujące typ identyfikatora URI (link do strony internetowej, link do mapy, numer telefonu lub adres e-mail). Identyfikatory URI muszą mieć schemat.
|
description |
string
Tytuł identyfikatora URI wyświetlany się w aplikacji jako tekst. Zalecana maksymalna długość to 20 znaków, aby zapewnić możliwość wyświetlania pełnego ciągu znaków na mniejszych ekranach. Pamiętaj, że w pewnych kontekstach ten tekst nie jest używany, na przykład gdy description jest częścią obrazu.
|
localizedDescription |
object (LocalizedString )
Przetłumaczony tekst pola description. Zalecana maksymalna długość to 20 znaków, aby zapewnić możliwość wyświetlania pełnego ciągu znaków na mniejszych ekranach.
|
id |
string
Identyfikator powiązany z identyfikatorem URI. To pole ułatwia zarządzanie identyfikatorami URI.
|
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: 2024-11-13 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-13 UTC."],[[["URI provides a way to link external resources like web pages, images, maps, or contact information within a Wallet Object."],["It includes a URI, description, localized descriptions, and an optional ID for management purposes."],["The `kind` field is deprecated and should not be used."],["Descriptions should be kept concise, ideally under 20 characters, for optimal display."],["Localized descriptions allow for tailoring the URI's title for different languages."]]],["The JSON representation defines a resource with fields for `kind` (deprecated), `uri`, `description`, `localizedDescription`, and `id`. `uri` stores the location of a web resource, while `description` and `localizedDescription` provide textual titles, with a 20-character recommendation. The `id` field enables easier URI management. The `kind` identifies the resource type, but is marked as deprecated. Various URI prefixes indicate the link's nature (web, map, phone, email).\n"]]