private void RemoveFriend(User user)
 {
     Communities.RemoveFriends(UserIdList.Create(user.Id), count =>
     {
         _console.LogD($"Friend Removed: {count}", false);
     }, error => _console.LogE(error.Message));
 }
 private void RemoveFriends()
 {
     Communities.RemoveFriends(FormUserList(), total =>
     {
         _console.LogD("New friends total:" + total);
     }, OnError);
 }
Example #3
0
 private void RemoveFriend(User user)
 {
     Communities.RemoveFriends(UserIdList.Create(user.Id), count =>
     {
         _areFriends[user.Id] = false;
         _follows[user.Id]    = false;
     }, error => _console.LogE(error.Message));
 }
 private void RemoveFriend(User user)
 {
     Communities.RemoveFriends(UserIdList.Create(user.Id),
                               friendsCount =>
     {
         var message = user.DisplayName + " is not your friend anymore.";
         _console.LogD(message);
     },
                               error => _console.LogE("Failed to remove a friend " + user.DisplayName + ", error:" + error.Message));
 }