Package com.mparticle.identity
Interface UserAliasHandler
-
@Deprecated public interface UserAliasHandler
Deprecated.to theBaseIdentityTask
that is being returned from this method )BaseIdentityTask.addSuccessListener(TaskSuccessListener)
. Within theIdentityApiResult
returned by the success listener, you can run the same code you do in youUserAliasHandler
, using theMParticleUser
s returned byIdentityApiResult.getUser()
andIdentityApiResult.getPreviousUser()
in place of "newUser" and "previousUser" respectively Interface which will handle the transition between Users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
onUserAlias(MParticleUser previousUser, MParticleUser newUser)
Deprecated.A handler for when Users change.
-
-
-
Method Detail
-
onUserAlias
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.- Parameters:
previousUser
- the outgoing UsernewUser
- the incoming User
-
-