Image
Loại bao bọc hình ảnh do Google lưu trữ. Mã nhận dạng tiếp theo: 7
Biểu diễn dưới dạng JSON |
{
"kind": string,
"sourceUri": {
object (ImageUri )
},
"contentDescription": {
object (LocalizedString )
}
} |
Trường |
kind (deprecated) |
string
Xác định loại tài nguyên này. Giá trị: chuỗi cố định "walletobjects#image" .
|
sourceUri |
object (ImageUri )
URI cho hình ảnh.
|
contentDescription |
object (LocalizedString )
Nội dung mô tả hình ảnh dùng để hỗ trợ tiếp cận.
|
ImageUri
Biểu diễn dưới dạng JSON |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
}
} |
Trường |
uri |
string
Vị trí của hình ảnh. URI phải có giao thức.
|
description (deprecated) |
string
Thông tin bổ sung về hình ảnh, không được sử dụng và chỉ được giữ lại để tương thích ngược.
|
localizedDescription (deprecated) |
object (LocalizedString )
Chuỗi đã dịch cho nội dung mô tả, không được sử dụng và chỉ được giữ lại để tương thích ngược.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-11-13 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-11-13 UTC."],[[["`Image` object wraps Google hosted images and includes the image URI, and an optional content description."],["The `ImageUri` object defines the location (URI) of the image."],["Both `Image` and `ImageUri` objects include deprecated fields for backward compatibility."]]],["The core content describes the JSON structure for representing images, including `Image` and `ImageUri` types. The `Image` object contains a deprecated `kind` field, a `sourceUri` (an `ImageUri` object), and a `contentDescription` (a `LocalizedString` object). `ImageUri` includes a `uri` (the image's location) and deprecated `description` and `localizedDescription` fields. The `Image` is designed to show Google-hosted images, with the `uri` field specifying the image location.\n"]]