PhotoView
Określa widok Photo
, który ma być uwzględniony w odpowiedzi.
Wartości w polu enum |
BASIC |
Odpowiedzi serwera nie zawierają adresu URL pobierania. Wartość domyślna. |
INCLUDE_DOWNLOAD_URL |
Odpowiedzi serwera zawierają adres URL pobierania (w bajtach zdjęć). |
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: 2023-06-09 UTC.
[null,null,["Ostatnia aktualizacja: 2023-06-09 UTC."],[[["Photo response can be customized to include or exclude the download URL for the photo bytes."],["By default, the server response will not include the download URL (`BASIC` view)."],["Using `INCLUDE_DOWNLOAD_URL` enum will explicitly include the download URL in the server response."]]],["The content defines options for the response view of a `Photo` object. `BASIC`, the default, omits the photo's download URL. `INCLUDE_DOWNLOAD_URL` includes the download URL in the server response. This controls whether the server provides the direct link to retrieve the photo's data when responding to a request about the `Photo`.\n"]]