Enclosing class:
UserProfile


public static class UserProfile.Builder
extends java.lang.Object
Builder class for UserProfile objects.

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
UserProfile.Builderapply(UserProfileUpdate<? extends com.yandex.metrica.impl.profile.UserProfileUpdatePatcher> userProfileUpdate)
Applies user profile update.
UserProfilebuild()
Creates the UserProfile instance.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

apply

public UserProfile.Builder apply(@NonNull
                                 UserProfileUpdate<? extends com.yandex.metrica.impl.profile.UserProfileUpdatePatcher> userProfileUpdate)
Applies user profile update. Use the YandexMetrica.reportUserProfile(UserProfile) method to send updated data to the AppMetrica server.
Parameters:
userProfileUpdate - The UserProfileUpdate object of the attribute update.
Returns:
The same UserProfile.Builder object

build

@NonNull
public UserProfile build()
Creates the UserProfile instance.
Returns:
The UserProfile object