PhotoView
Menentukan tampilan Photo
yang akan disertakan dalam respons.
Enumerasi |
BASIC |
Respons server tidak menyertakan URL download untuk byte foto. Nilai default. |
INCLUDE_DOWNLOAD_URL |
Respons server menyertakan URL download untuk byte foto. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-06-09 UTC.
[null,null,["Terakhir diperbarui pada 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"]]