PhotoView
枚举 |
BASIC |
服务器响应不包含照片字节的下载网址。默认值。 |
INCLUDE_DOWNLOAD_URL |
服务器响应会包含照片字节的下载网址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-06-09。
[null,null,["最后更新时间 (UTC):2023-06-09。"],[[["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"]]