protected override void OnServiceConnected() { ICall call = GetSinchServiceInterface().GetCall(mCallId); if (call != null) { call.AddCallListener(new SinchCallListener(this)); mCallerName.Text = (call.RemoteUserId); mCallState.Text = (call.State.ToString()); } else { Log.Error(TAG, "Started with invalid callId, aborting."); Finish(); } }
protected override void OnServiceConnected() { ICall call = GetSinchServiceInterface().GetCall(mCallId); if (call != null) { call.AddCallListener(new SinchCallListener(this)); TextView remoteUser = FindViewById <TextView>(Resource.Id.remoteUser); remoteUser.Text = (call.RemoteUserId); } else { Log.Error(TAG, "Started with invalid callId, aborting"); Finish(); } }