UserDataPoint

The UserDataPoint` represents the data characteristic of a specific user.

The data types defined as a UserDataPoint are listed in DataType.

Since

1.0.0

Functions

Link copied to clipboard
fun <T> getValue(field: Field<T>): T?

Retrieves the value of the specified field. Returns null value if the data does not contain a value for the specified field.

Link copied to clipboard
fun <T> getValueOrDefault(field: Field<T>, defaultValue: T): T

Retrieves the value of the specified field. Returns defaultValue if the data does not contain any value for the specified field.

Preferences Submitted

You have successfully updated your cookie preferences.