OsVersion
Stay organized with collections
Save and categorize content based on your preferences.
Representation of an OS version.
JSON representation |
{
"apiLevel": string
} |
Fields |
apiLevel |
string (int64 format)
Numeric version code of the OS - API level
|
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 2025-03-19 UTC.
[null,null,["Last updated 2025-03-19 UTC."],[[["\u003cp\u003eThe OS version is represented using JSON format with a single field "apiLevel".\u003c/p\u003e\n"],["\u003cp\u003e"apiLevel" denotes the numeric version code of the OS, formatted as a string but representing an int64 value, commonly known as the API level.\u003c/p\u003e\n"]]],["The content describes a JSON representation of an OS version. It uses a single field, `apiLevel`, to define the OS. `apiLevel` is a string that contains the numeric version code, specifically the API level of the operating system. This field is formatted as an int64 value, as indicated by the linked documentation.\n"],null,["# OsVersion\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresentation of an OS version.\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"apiLevel\": string } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `apiLevel` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numeric version code of the OS - API level |"]]