Skip to main content
Version: SDK 5.0.x

Unit

public enum Unit : String, CaseIterable, CustomStringConvertible, Codable

An enum describing how to interpret the value of a UserEvent.

count

We want to count how many times something happened in total.

case count

milliseconds

We want to measure how long something takes with millisecond precision.

case milliseconds

seconds

We want to measure how long something takes with second precision.

case seconds

description

public var description: String { get }