@Deprecated public interface UserAliasHandlerDeprecated.to the
BaseIdentityTaskthat is being returned from this method )
BaseIdentityTask.addSuccessListener(TaskSuccessListener). Within the
IdentityApiResultreturned by the success listener, you can run the same code you do in you
UserAliasHandler, using the
MParticleUsers returned by
IdentityApiResult.getPreviousUser()in place of "newUser" and "previousUser" respectively Interface which will handle the transition between Users.
void onUserAlias(@NonNull MParticleUser previousUser, @NonNull MParticleUser newUser)Deprecated.A handler for when Users change. Any carry-over in state between an outgoing user and an incoming user, should take place here.
previousUser- the outgoing User
newUser- the incoming User