/// <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); }
/// <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); }