public void OnUserIdentified(IdentityBinding.MParticleUser user) { if (_listener != null) { _listener.Invoke(user != null ? new MParticleUserWrapper(user) : null); } }
public void OnUserIdentified(IdentityBinding.IMParticleUser newUser, IdentityBinding.IMParticleUser previousUser) { if (_listener != null) { _listener.Invoke(newUser != null ? new MParticleUserWrapper(newUser) : null); } }
internal static iOSBinding.OnIdentifyComplete ConvertToMpIdentifyCompleteListener(OnUserIdentified identityListener) { return(new iOSBinding.OnIdentifyComplete((request, error) => { if (identityListener != null && request != null) { identityListener.Invoke(new MParticleUserWrapper(request.User)); } else { if (error != null) { identityListener.Invoke(null); } } })); }
void onUserIdentified(AndroidJavaObject user) { onUserIdentifiedHandler.Invoke(new MParticleUserImpl(user)); }