デザイン
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
次のテンプレートはスマートタップ対応のパスの例です。ここでは、ポイントカードの例を示します。すべてのフィールドはスマートタップ非対応のパスと同じです。スマートタップが有効の場合、バーコードは非表示になります。この他にも UX に違いがあります。たとえば、パスでスマートタップが有効になっていることを示すインジケーターがパスヘッダーの下に表示されます。また、パスの下部にはスマートタップを無効にする切り替えスイッチが表示されます。
|
class.programLogo
class.issuerName
class.programName
class.heroImage
object.loyaltyPoints.label
object.loyaltyPoints.balance
object.secondaryLoyaltyPoints.label
object.secondaryLoyaltyPoints.balance
object.barcode.type
object.barcode.value
object.barcode.value
object.accountId
object.barcode.alternateText
class.hexBackgroundColor
class.accountNameLabel
object.accountName
class.accountIdLabel
object.accountId
class.rewardsTierLabel
class.rewardsTier
*.imageModulesData.mainImage
*.messages[0].header
*.messages[0].body
*.textModulesData.header
*.textModulesData.body
*.infoModuleData.labelValueRows[0].columns[0].label
*.infoModuleData.labelValueRows[0].columns[0].value
*.linksModuleData.uris[2]
*.linksModuleData.uris[0]
*.linksModuleData.uris[1]
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2020-07-24 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":"その他"
}]