OperatingSystemFamily

Represents the operating system of a configuration. Typical operating system include Windows, Linux, and macOS. This interface allows the user to customize operating systems by implementing this interface.

Since

5.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val LINUX: String = "linux"
The Linux operating system family.
Link copied to clipboard
val MACOS: String = "macos"
The macOS operating system family.
Link copied to clipboard
val WINDOWS: String = "windows"
The Windows operating system family.

Functions

Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
open fun isLinux(): Boolean
Is this the Linux operating system family?
Link copied to clipboard
open fun isMacOs(): Boolean
Is this the macOS operating system family?
Link copied to clipboard
open fun isWindows(): Boolean
Is this the Windows operating system family?