operatingSystem property

String operatingSystem
final

A string representing the operating system.

The currently possible return values are available from operatingSystemValues, and there are constants for each of the platforms to use in switch statements or conditionals (See linux, macOS, windows, android, iOS and fuchsia).

Implementation

abstract final String operatingSystem;