コード例 #1
0
 public void OnUserIdentified(IdentityBinding.MParticleUser user)
 {
     if (_listener != null)
     {
         _listener.Invoke(user != null ? new MParticleUserWrapper(user) : null);
     }
 }
コード例 #2
0
 public void OnUserIdentified(IdentityBinding.IMParticleUser newUser, IdentityBinding.IMParticleUser previousUser)
 {
     if (_listener != null)
     {
         _listener.Invoke(newUser != null ? new MParticleUserWrapper(newUser) : null);
     }
 }
コード例 #3
0
 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);
             }
         }
     }));
 }
コード例 #4
0
 void onUserIdentified(AndroidJavaObject user)
 {
     onUserIdentifiedHandler.Invoke(new MParticleUserImpl(user));
 }