Os

interface Os : WebInfoItem

Represents the operating system information with its name and version.

This interface provides properties to retrieve the operating system's name and version (e.g., Windows, Linux, macOS). It is useful for capturing details about the operating system for system diagnostics or analytics.

Author

N7ghtm4r3

See also

Inheritors

OsImpl

Properties

Link copied to clipboard
abstract val name: String

name The name of the operating system (e.g., Windows, Linux, macOS).

Link copied to clipboard
abstract val version: String

version The version of the operating system.

Functions

Link copied to clipboard
open fun String?.safeValue(): String

Method to use a null-safe value.