|
AdaptySDK 4.1.1
|
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...
Public Member Functions | |
| Builder | SetFirstName (string value) |
| Sets FirstName. | |
| Builder | SetLastName (string value) |
| Sets LastName. | |
| Builder | SetGender (AdaptyProfileGender? value) |
| Sets Gender. | |
| Builder | SetBirthday (DateTime? value) |
| Sets Birthday. Sent as a calendar date, so the time of day is ignored. | |
| Builder | SetEmail (string value) |
| Sets Email. | |
| Builder | SetPhoneNumber (string value) |
| Sets PhoneNumber. | |
| Builder | SetAppTrackingTransparencyStatus (AppTrackingTransparencyStatus? value) |
| Sets AppTrackingTransparencyStatus. iOS only. | |
| Builder | SetAnalyticsDisabled (bool? value) |
| Sets AnalyticsDisabled. | |
| 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. | |
| Builder | SetCustomDoubleAttribute (string key, double value) |
| Sets a custom attribute to a numeric value. Same limits as AdaptyProfileParameters.SetCustomDoubleAttribute. | |
| Builder | RemoveCustomAttribute (string key) |
| Clears a custom attribute, the way AdaptyProfileParameters.RemoveCustomAttribute does — sent as an explicit removal rather than left out. | |
| AdaptyProfileParameters | Build () |
| The parameters described by this builder. | |
Private Attributes | |
| AdaptyProfileParameters | _Parameters = new AdaptyProfileParameters() |
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.
| AdaptyProfileParameters AdaptySDK.AdaptyProfileParameters.Builder.Build | ( | ) |
The parameters described by this builder.
| 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.
| key | The key to clear. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetAnalyticsDisabled | ( | bool? | value | ) |
Sets AnalyticsDisabled.
| value | True to switch analytics off for this profile. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetAppTrackingTransparencyStatus | ( | AppTrackingTransparencyStatus? | value | ) |
Sets AppTrackingTransparencyStatus. iOS only.
| value | What the user answered to the tracking prompt. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetBirthday | ( | DateTime? | value | ) |
Sets Birthday. Sent as a calendar date, so the time of day is ignored.
| value | The user's date of birth. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetCustomDoubleAttribute | ( | string | key, |
| double | value ) |
Sets a custom attribute to a numeric value. Same limits as AdaptyProfileParameters.SetCustomDoubleAttribute.
| key | Up to 30 characters of letters, digits, dashes, points and underscores. |
| value | The value to store. |
| 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.
| key | Up to 30 characters of letters, digits, dashes, points and underscores. |
| value | Between 1 and 50 characters. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetEmail | ( | string | value | ) |
Sets Email.
| value | The user's email address. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetFirstName | ( | string | value | ) |
Sets FirstName.
| value | The user's first name. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetGender | ( | AdaptyProfileGender? | value | ) |
Sets Gender.
| value | The user's gender. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetLastName | ( | string | value | ) |
Sets LastName.
| value | The user's last name. |
| Builder AdaptySDK.AdaptyProfileParameters.Builder.SetPhoneNumber | ( | string | value | ) |
Sets PhoneNumber.
| value | The user's phone number. |
|
private |