PresentationRequirement
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
REQUIREMENT_UNSPECIFIED |
未指定的要求。不应明确设置此项。 |
REQUIREMENT_OPTIONAL |
披露声明是可选的。如果设备不支持显示披露信息,则可以跳过此设置。 |
REQUIREMENT_REQUIRED |
必须提供披露信息。如果设备不支持显示披露信息,则通话时会下注。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe \u003ccode\u003eRequirement\u003c/code\u003e enum defines whether a disclosure must be shown, is optional, or not specified.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003eREQUIREMENT_REQUIRED\u003c/code\u003e is set and the device doesn't support disclosures, the conversation will be redirected to the phone.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREQUIREMENT_OPTIONAL\u003c/code\u003e allows skipping the disclosure if the device lacks support, while \u003ccode\u003eREQUIREMENT_UNSPECIFIED\u003c/code\u003e should be avoided.\u003c/p\u003e\n"]]],[],null,["# PresentationRequirement\n\nRequirement for the presentation of the disclosure.\n\n| Enums ||\n|---------------------------|------------------------------------------------------------------------------------------------------------------------|\n| `REQUIREMENT_UNSPECIFIED` | Unspecified requirement. Should not set this explicitly. |\n| `REQUIREMENT_OPTIONAL` | The disclosure is optional. It can be skipped if the device does not supporting showing disclosures. |\n| `REQUIREMENT_REQUIRED` | The disclosure is required. The conversation will be punt to phone if the device does not support showing disclosures. |"]]