Barcode
필드 |
kind (deprecated) |
string
리소스 종류를 식별합니다. 값: 고정 문자열 "walletobjects#barcode" .
|
type |
enum (BarcodeType )
바코드 유형입니다.
|
renderEncoding |
enum (BarcodeRenderEncoding )
바코드의 렌더링 인코딩입니다. 지정된 경우 지정된 인코딩으로 바코드가 렌더링됩니다. 그렇지 않으면 Google에서 가장 잘 알려진 인코딩을 선택합니다.
|
value |
string
바코드에 인코딩된 값입니다.
|
alternateText |
string
바코드 아래에 표시되는 기본 텍스트보다 우선 적용되는 선택적 텍스트입니다. 이 필드는 바코드 값을 사람이 읽을 수 있도록 하기 위해 사용되며 바코드를 스캔할 수 없을 때 사용됩니다.
|
showCodeText |
object (LocalizedString )
클릭 동작 뒤에 바코드가 숨겨져 있을 때 표시되는 선택적 텍스트입니다. 패스에 스마트 탭이 사용 설정된 경우에 발생합니다. 지정되지 않은 경우 Google에서 기본값을 선택합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-13(UTC)
[null,null,["최종 업데이트: 2024-11-13(UTC)"],[[["Barcodes in Google Wallet can be customized with type, rendering encoding, value, alternate text, and display settings for code text."],["The `kind` field is deprecated and should no longer be used."],["`showCodeText` field controls text display when the barcode is hidden, often due to Smart Tap."],["Barcode values can include an optional human-readable `alternateText` for accessibility."]]],["The core content describes the structure and fields of a barcode in a JSON format. Key information includes: `type` specifying the barcode type, `renderEncoding` defining how the barcode is rendered, and `value` containing the encoded data. `alternateText` provides a human-readable alternative, while `showCodeText` offers optional text when the barcode is hidden. The `kind` field is deprecated. The document describes each field's data type.\n"]]