AppVersion
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"versionCode": string
} |
字段 |
versionCode |
string (int64 format)
应用版本的数字版本代码(由应用的开发者设置)。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eApp versions are represented using JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation includes a \u003ccode\u003eversionCode\u003c/code\u003e field, which is a string formatted as an integer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eversionCode\u003c/code\u003e is set by the app developer and represents the numeric version of the app.\u003c/p\u003e\n"]]],["The JSON representation defines an app version using a `versionCode` field. This field is a string that follows the int64 format, representing the numeric version code set by the app's developer. The `versionCode` is the sole field in this representation, providing the numerical identifier for a specific version of the application.\n"],null,["# AppVersion\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresentations of an app version.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"versionCode\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `versionCode` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numeric version code of the app version (set by the app's developer). |"]]