Represents a user profile in Adapty.
More...
|
| override string | ToString () |
| | A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
|
|
| IReadOnlyList< AdaptyExternalAttributionProvider > | AppliedExternalAttributionProviders [get] |
| | The external attribution providers applied to this profile.
|
| IReadOnlyDictionary< string, object > | CustomAttributes [get] |
| | The custom attributes set on this profile. Numbers arrive as double.
|
| IReadOnlyDictionary< string, AccessLevel > | AccessLevels [get] |
| | The profile's access levels, keyed by the identifier configured in the Dashboard. Empty when the user has none.
|
| IReadOnlyDictionary< string, Subscription > | Subscriptions [get] |
| | The profile's subscriptions, keyed by store product id. Empty when the user has none.
|
| IReadOnlyDictionary< string, IReadOnlyList< NonSubscription > > | NonSubscriptions [get] |
| | The profile's non-subscription purchases, keyed by store product id — a list each, since one product can be bought more than once. Empty when the user has none.
|
Represents a user profile in Adapty.
The profile contains all information about the user including access levels, subscriptions, non-subscription purchases, and custom attributes. Read more at Adapty Documentation
◆ ToString()
| override string AdaptySDK.AdaptyProfile.ToString |
( |
| ) |
|
A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
◆ CustomerUserId
| readonly string AdaptySDK.AdaptyProfile.CustomerUserId |
An identifier of the user in your system.
This is the customer user ID that you set using Adapty.Identify(string, Action<AdaptyError>).
◆ ProfileId
| readonly string AdaptySDK.AdaptyProfile.ProfileId |
An identifier of the user in Adapty.
◆ AccessLevels
| IReadOnlyDictionary<string, AccessLevel> AdaptySDK.AdaptyProfile.AccessLevels |
|
get |
The profile's access levels, keyed by the identifier configured in the Dashboard. Empty when the user has none.
◆ AppliedExternalAttributionProviders
The external attribution providers applied to this profile.
◆ CustomAttributes
| IReadOnlyDictionary<string, object> AdaptySDK.AdaptyProfile.CustomAttributes |
|
get |
The custom attributes set on this profile. Numbers arrive as double.
◆ NonSubscriptions
| IReadOnlyDictionary<string, IReadOnlyList<NonSubscription> > AdaptySDK.AdaptyProfile.NonSubscriptions |
|
get |
The profile's non-subscription purchases, keyed by store product id — a list each, since one product can be bought more than once. Empty when the user has none.
◆ Subscriptions
| IReadOnlyDictionary<string, Subscription> AdaptySDK.AdaptyProfile.Subscriptions |
|
get |
The profile's subscriptions, keyed by store product id. Empty when the user has none.
The documentation for this class was generated from the following files:
- Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyProfile.AccessLevel.cs
- Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyProfile.cs