current property

OperatingSystemType current
final

Current operating system type.

In browsers, the value is determined by using uses browser APIs such as navigator.userAgent. If you want to check whether the application is running in a browser, use isRunningInWeb.

Implementation

static final OperatingSystemType current = getOperatingSystemType();