OperatingSystem
Enumerates known operating systems.
Content copied to clipboard
elide.machine.OperatingSystem
Properties
Link copied to clipboard
Operating system is Android.
Content copied to clipboard
ANDROID = 4;
Link copied to clipboard
Operating system is FreeBSD.
Content copied to clipboard
FREEBSD = 5;
Link copied to clipboard
Operating system is Linux.
Content copied to clipboard
LINUX = 1;
Link copied to clipboard
Operating system is macOS.
Content copied to clipboard
MACOS = 2;
Link copied to clipboard
Operating system is OpenBSD.
Content copied to clipboard
OPENBSD = 6;
Link copied to clipboard
Operating system is unknown.
Content copied to clipboard
UNKNOWN_OS = 0;
Link copied to clipboard
Operating system is Windows.
Content copied to clipboard
WINDOWS = 3;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.