Platform
The Platform namespace contains properties that help deal with platform specific differences.
Properties
Section titled “Properties” enum OperatingSystemType default: the first enum value
OperatingSystemType
This enum describes the detected operating system types.
android
: This variant includes any version of Android running mobile phones, tablets, as well as embedded Android devices.ios
: This variant covers iOS running on iPhones and iPads.macos
: This variant covers macOS running on Apple’s Mac computers.linux
: This variant covers any version of Linux, except Android.windows
: This variant covers Microsoft Windows.other
: This variant is reported when the operating system is none of the above.
This property holds the type of the operating system detected at run-time.
style-name
Section titled “style-name” string default: ""
The name of the currently selected widget style. Some widget
styles have dark and light variant suffixes, such as fluent-light
. This property contains the
style name without the suffix. Use Palette‘s color-scheme
to
determine the currently used scheme.
© 2025 SixtyFPS GmbH