Enclosing class:
UserProfile


public static class UserProfile.Builder
extends java.lang.Object
Конструктор создает объект класса UserProfile.

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
UserProfile.Builderapply(UserProfileUpdate<? extends com.yandex.metrica.impl.profile.UserProfileUpdatePatcher> userProfileUpdate)
Применяет обновление пользовательского профиля.
UserProfilebuild()
Создает объект UserProfile.

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)
Применяет обновление пользовательского профиля. Используйте метод YandexMetrica.reportUserProfile(UserProfile), чтобы отправить обновленные данные на сервер AppMetrica .
Parameters:
userProfileUpdate - The UserProfileUpdate, который содержит все обновления атрибутов.
Returns:
Объект UserProfile.Builder.

build

@NonNull
public UserProfile build()
Создает объект UserProfile.
Returns:
Объект UserProfile.