Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Image
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
| JSON 表示法 |
{
"kind": string,
"sourceUri": {
object (ImageUri)
},
"contentDescription": {
object (LocalizedString)
}
} |
| 欄位 |
kind (deprecated) |
string
表示資源的種類。值:固定字串 "walletobjects#image"。
|
sourceUri |
object (ImageUri)
圖片的 URI。
|
contentDescription |
object (LocalizedString)
用於無障礙功能的圖片說明。
|
ImageUri
| JSON 表示法 |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString)
}
} |
| 欄位 |
uri |
string
圖片的位置。必須定義 URI 配置。
|
description (deprecated) |
string
圖片的其他相關資訊,不使用且僅為回溯相容性而保留。
|
localizedDescription (deprecated) |
object (LocalizedString)
說明的翻譯字串,不使用且僅為回溯相容性而保留。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["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"]]