Barcode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
字段 |
kind (deprecated) |
string
指明资源的类型。值:固定字符串 "walletobjects#barcode" 。
|
type |
enum (BarcodeType )
条形码的类型。
|
renderEncoding |
enum (BarcodeRenderEncoding )
条形码的渲染编码。指定此标记时,条形码会以指定的编码形式呈现。否则,Google 会选择最知名的编码。
|
value |
string
条形码中编码的值。
|
alternateText |
string
可选文本,将替换条形码下显示的默认文本。此字段旨在提供条形码值的直观易懂版本,在无法扫描条形码时使用。
|
showCodeText |
object (LocalizedString )
点击条形码后隐藏条形码时显示的可选文字。如果卡券启用了智能触碰,就会发生这种情况。如果未指定,则由 Google 选择默认值。
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]