示例#1
0
 /// <summary>
 /// removes the account creation listener
 /// </summary>
 /// <param name="listener"></param>
 public void RemoveAccountCreationListener(IAccountCreationListener listener)
 {
     KinManager.accountCreationListeners.RemoveIfPresent(_accountId, listener);
     NativeBridge.Get().RemoveAccountCreationListener(_accountId);
 }
示例#2
0
 /// <summary>
 /// adds a listener that will be called when an account is created
 /// </summary>
 /// <param name="listener"></param>
 public void AddAccountCreationListener(IAccountCreationListener listener)
 {
     KinManager.accountCreationListeners.AddIfNotPresent(_accountId, listener);
     NativeBridge.Get().AddAccountCreationListener(_accountId);
 }