Units
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zestaw wartości określających jednostkę miary używaną na wyświetlaczu.
Wartości w polu enum |
UNITS_UNSPECIFIED |
Nie określono jednostek miary. Domyślnie jest to jednostka miary określona na podstawie żądania. |
METRIC |
Jednostki miary. |
IMPERIAL |
Jednostki miary angielskiej (imperialne). |
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-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eUnits of measure define how measurements are displayed.\u003c/p\u003e\n"],["\u003cp\u003eOptions include unspecified (defaults to inferred), metric, or imperial units.\u003c/p\u003e\n"]]],[],null,["# Units\n\nA set of values that specify the unit of measure used in the display.\n\n| Enums ||\n|---------------------|--------------------------------------------------------------------------------------------|\n| `UNITS_UNSPECIFIED` | Units of measure not specified. Defaults to the unit of measure inferred from the request. |\n| `METRIC` | Metric units of measure. |\n| `IMPERIAL` | Imperial (English) units of measure. |"]]