Package-level declarations

Types

Link copied to clipboard
external interface Browser
Link copied to clipboard
external interface Device
Link copied to clipboard
open class DeviceInfo(val uniqueIdentifier: String, val brand: String, val model: String, val os: String, val osVersion: String)

The DeviceInfo class represents the information about the current device where the application is running

Link copied to clipboard
external interface Os
Link copied to clipboard
external class UAParser(userAgent: String)
Link copied to clipboard
external interface UAParserResult
Link copied to clipboard
class WebDeviceInfo(val uniqueIdentifier: String, val brand: String, val model: String, val os: String, val osVersion: String, val browser: String, val browserVersion: String) : DeviceInfo

The WebDeviceInfo class represents the information about the current browser (and related device) where the application is running

Properties

Link copied to clipboard
private const val ANDROID_10: String

ANDROID_10 -> "Android 10" Android operating system name

Link copied to clipboard
private const val APPLE_BRAND: String

APPLE_BRAND -> constant "apple" value

Link copied to clipboard
private const val BASE: String

BASE -> "BASE" Android operating system name

Link copied to clipboard
private const val CUPCAKE: String

CUPCAKE -> "CUPCAKE" Android operating system name

Link copied to clipboard
private const val CUSTOM_BUILD: String

CUSTOM_BUILD -> constant "Custom Build" value

Link copied to clipboard
private const val DONUT: String

DONUT -> "DONUT" Android operating system name

Link copied to clipboard
private const val ECLAIR: String

ECLAIR -> "Eclair" Android operating system name

Link copied to clipboard
private const val FROYO: String

FROYO -> "Froyo" Android operating system name

Link copied to clipboard
private const val GINGERBREAD: String

GINGERBREAD -> "Gingerbread" Android operating system name

Link copied to clipboard
private const val HONEYCOMB: String

HONEYCOMB -> "Honeycomb" Android operating system name

Link copied to clipboard
private const val ICE_CREAM_SANDWICH: String

ICE_CREAM_SANDWICH -> "Ice cream Sandwich" Android operating system name

Link copied to clipboard
private const val JELLY_BEAN: String

JELLY_BEAN -> "Jellybean" Android operating system name

Link copied to clipboard
private const val KITKAT: String

KITKAT -> "Kitkat" Android operating system name

Link copied to clipboard
private const val LOLLIPOP: String

LOLLIPOP -> "Lollipop" Android operating system name

Link copied to clipboard
private const val MARSHMALLOW: String

MARSHMALLOW -> "Marshmallow" Android operating system name

Link copied to clipboard
private const val NOUGAT: String

NOUGAT -> "Nougat" Android operating system name

Link copied to clipboard
private const val OREO: String

OREO -> "Oreo" Android operating system name

Link copied to clipboard
private const val PIE: String

PIE -> "Pie" Android operating system name

Link copied to clipboard
private const val RED_VELVET_CAKE: String

RED_VELVET_CAKE -> "Red Velvet Cake" Android operating system name

Link copied to clipboard
private const val SNOW_CONE: String

SNOW_CONE -> "Snow Cone" Android operating system name

Link copied to clipboard
private const val TIRAMISU: String

TIRAMISU -> "Tiramisu" Android operating system name

Link copied to clipboard
private const val TO_BE_FILLED_BY_O_E_M: String

TO_BE_FILLED_BY_O_E_M -> constant "To Be Filled By O.E.M." value

Link copied to clipboard
private const val UKNOWN: String

UKNOWN -> the uknown value to use when the specific information has not found

Link copied to clipboard
private const val UPSIDE_DOWN_CAKE: String

UPSIDE_DOWN_CAKE -> "Upside down cake" Android operating system name

Functions

Link copied to clipboard
private fun osNameByVersion(): String

Method to get the specific version name of the Android operating system

Link copied to clipboard
Link copied to clipboard

Method to provide the current device information

Method to provide the current device information

Method to provide the current device information

Method to provide the current device information

Method to provide the current device information

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

Method to use a null-safe value