Builder

class Builder

Builder for AdaptyProfileParameters.

Allows incremental construction of profile parameters.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds an instance of AdaptyProfileParameters with the current values.

Link copied to clipboard

Sets the App Tracking Transparency (ATT) status for iOS devices.

Link copied to clipboard

Sets the birthday for the profile. Use AdaptyProfile.Date object.

Link copied to clipboard

Adds or updates a custom attribute (Double value).

Adds or updates a custom attribute (String value).

Link copied to clipboard

Sets the email address for the profile.

Link copied to clipboard

Enables or disables analytics for this profile.

Link copied to clipboard

Sets the first name for the profile.

Link copied to clipboard

Sets the gender for the profile. Use AdaptyProfile.Gender enum.

Link copied to clipboard

Sets the last name for the profile.

Link copied to clipboard

Sets the phone number for the profile.

Link copied to clipboard

Removes a custom attribute. Sets it to null if it doesn't exist.