Assembles an AdaptyProfileParameters. Every setter returns the builder, so calls chain; what is never set is not sent, and is therefore left as it is on the server rather than cleared.
More...
Assembles an AdaptyProfileParameters. Every setter returns the builder, so calls chain; what is never set is not sent, and is therefore left as it is on the server rather than cleared.
◆ Build()
The parameters described by this builder.
◆ RemoveCustomAttribute()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.RemoveCustomAttribute |
( |
string | key | ) |
|
Clears a custom attribute, the way AdaptyProfileParameters.RemoveCustomAttribute does — sent as an explicit removal rather than left out.
- Parameters
-
◆ SetAnalyticsDisabled()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetAnalyticsDisabled |
( |
bool? | value | ) |
|
Sets AnalyticsDisabled.
- Parameters
-
| value | True to switch analytics off for this profile. |
◆ SetAppTrackingTransparencyStatus()
Sets AppTrackingTransparencyStatus. iOS only.
- Parameters
-
| value | What the user answered to the tracking prompt. |
◆ SetBirthday()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetBirthday |
( |
DateTime? | value | ) |
|
Sets Birthday. Sent as a calendar date, so the time of day is ignored.
- Parameters
-
| value | The user's date of birth. |
◆ SetCustomDoubleAttribute()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetCustomDoubleAttribute |
( |
string | key, |
|
|
double | value ) |
Sets a custom attribute to a numeric value. Same limits as AdaptyProfileParameters.SetCustomDoubleAttribute.
- Parameters
-
| key | Up to 30 characters of letters, digits, dashes, points and underscores. |
| value | The value to store. |
◆ SetCustomStringAttribute()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetCustomStringAttribute |
( |
string | key, |
|
|
string | value ) |
Sets a custom attribute to a string value. Same limits as AdaptyProfileParameters.SetCustomStringAttribute, and the same exception when they are broken.
- Parameters
-
| key | Up to 30 characters of letters, digits, dashes, points and underscores. |
| value | Between 1 and 50 characters. |
◆ SetEmail()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetEmail |
( |
string | value | ) |
|
Sets Email.
- Parameters
-
| value | The user's email address. |
◆ SetFirstName()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetFirstName |
( |
string | value | ) |
|
Sets FirstName.
- Parameters
-
| value | The user's first name. |
◆ SetGender()
◆ SetLastName()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetLastName |
( |
string | value | ) |
|
Sets LastName.
- Parameters
-
| value | The user's last name. |
◆ SetPhoneNumber()
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetPhoneNumber |
( |
string | value | ) |
|
Sets PhoneNumber.
- Parameters
-
| value | The user's phone number. |
The documentation for this class was generated from the following file:
- Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyProfileParameters.Builder.cs