apple_platform_type
Stay organized with collections
Save and categorize content based on your preferences.
Describes an Apple "platform type", such as iOS, macOS, tvOS, visionOS, or watchOS. This is distinct from a "platform", which is the platform type combined with one or more CPU architectures.
Specific instances of this type can be retrieved by accessing the fields of the apple_common.platform_type:
apple_common.platform_type.iosapple_common.platform_type.macosapple_common.platform_type.tvosapple_common.platform_type.watchos
Likewise, the platform type of an existing platform value can be retrieved using its platform_type field.
Platform types can be converted to a lowercase string (e.g., ios or macos) using the str function.
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-12-12 UTC.
[null,null,["Last updated 2025-12-12 UTC."],[],[]]