SessionActivity

@Serializable
data class SessionActivity(val id: String, val browserName: String? = null, val browserVersion: String? = null, val deviceType: String? = null, val ipAddress: String? = null, val city: String? = null, val country: String? = null, val isMobile: Boolean? = null)

A SessionActivity object will provide information about the user's location, device and browser.

Constructors

Link copied to clipboard
constructor(id: String, browserName: String? = null, browserVersion: String? = null, deviceType: String? = null, ipAddress: String? = null, city: String? = null, country: String? = null, isMobile: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "browser_name")
val browserName: String? = null

The name of the browser from which this session activity occurred.

Link copied to clipboard
@SerialName(value = "browser_version")
val browserVersion: String? = null

The version of the browser from which this session activity occurred.

Link copied to clipboard
val city: String? = null

The city from which this session activity occurred. Resolved by IP address geo-location.

Link copied to clipboard
val country: String? = null

The country from which this session activity occurred. Resolved by IP address geo-location.

Link copied to clipboard
@SerialName(value = "device_type")
val deviceType: String? = null

The type of the device which was used in this session activity.

Link copied to clipboard
val id: String

A unique identifier for the session activity record.

Link copied to clipboard
@SerialName(value = "ip_address")
val ipAddress: String? = null

The IP address from which this session activity originated.

Link copied to clipboard
@SerialName(value = "is_mobile")
val isMobile: Boolean? = null

Will be set to true if the session activity came from a mobile device. Set to false otherwise.