Browser

interface Browser : WebInfoItem

Represents a web browser. Provides details about the browser's name and version.

This interface extends the WebInfoItem interface and includes a utility method safeValue() for safely handling null values in the browser's information.

Author

N7ghtm4r3

See also

Inheritors

BrowserImpl

Properties

Link copied to clipboard
abstract val major: String

major Major number derived from the first number in version

Link copied to clipboard
abstract val name: String

name The name of the browser (e.g., Chrome, Firefox)

Link copied to clipboard
abstract val type: String

type Type of current browser (email, inapp, crawler)

Link copied to clipboard
abstract val version: String

version The version of the browser

Functions

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

Method to use a null-safe value.