Package io.appmetrica.analytics.profile
Class UserProfile.Builder
java.lang.Object
io.appmetrica.analytics.profile.UserProfile.Builder
- Enclosing class:
- UserProfile
Builder class for
UserProfile
objects.-
Method Summary
Modifier and TypeMethodDescriptionapply
(UserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> userProfileUpdate) Applies user profile update.build()
Creates theUserProfile
instance.
-
Method Details
-
apply
public UserProfile.Builder apply(@NonNull UserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> userProfileUpdate) Applies user profile update. Use theAppMetrica.reportUserProfile(UserProfile)
method to send updated data to the AppMetrica server.- Parameters:
userProfileUpdate
- TheUserProfileUpdate
object of the attribute update.- Returns:
- The same
UserProfile.Builder
object
-
build
Creates theUserProfile
instance.- Returns:
- The
UserProfile
object
-