WebInfo

interface WebInfo : WebInfoItem

Represents information about the web environment, including the user agent, browser, CPU, device, engine, and operating system.

This interface provides properties to retrieve details about the web environment, such as the user agent string, browser, CPU architecture, device model and vendor, engine details, and operating system.

Author

N7ghtm4r3

See also

Inheritors

WebInfoImpl

Properties

Link copied to clipboard
abstract val browser: Browser

browser The browser information, including the browser's name and version.

Link copied to clipboard
abstract val cpu: CPU

cpu The CPU architecture information (e.g., x86, ARM).

Link copied to clipboard
abstract val device: Device

device The device information, including the model, type, and vendor.

Link copied to clipboard
abstract val engine: Engine

engine The engine information, including the engine's name and version (e.g., Blink, WebKit).

Link copied to clipboard
abstract val os: Os

os The operating system information, including the name and version (e.g., Windows, Linux, macOS).

Link copied to clipboard
abstract val userAgent: String

userAgent The user agent string that represents the client's web browser and system.

Functions

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

Method to use a null-safe value.