public void RefuseInvitation(IRemoteInvitation invitation) { var callback = new ResultCallback(); callback.OnSuccessAction += (obj) => { UserDialogs.Instance.Alert("Invitation refuse"); }; callback.OnFailureAction += (obj) => { UserDialogs.Instance.Alert("Invitation refuse error. Try again"); }; _callManager.RefuseRemoteInvitation(invitation, callback); }
public void AcceptInvitation(IRemoteInvitation invitation) { var callback = new ResultCallback(); callback.OnSuccessAction += (obj) => { Console.WriteLine("Invitation accept"); }; callback.OnFailureAction += (obj) => { Console.WriteLine("Invitation accept error. Try again"); }; _callManager.AcceptRemoteInvitation(invitation, callback); }