Image
Google 代管圖片的包裝類型。下一個 ID:7
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 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-13 (世界標準時間)。
[null,null,["上次更新時間:2024-11-13 (世界標準時間)。"],[[["`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"]]