public override void onCallEnded(Call call) { CallEndCause cause = call.Details.EndCause; Log.d(TAG, "Call ended, cause: " + cause.ToString()); outerInstance.mAudioPlayer.stopRingtone(); finish(); }
public void OnCallEnded(ICall call) { CallEndCause cause = call.Details.EndCause; Log.Debug(TAG, "Call ended, cause: " + cause); outer.mAudioPlayer.StopRingtone(); outer.Finish(); }
public void OnCallEnded(ICall call) { CallEndCause cause = call.Details.EndCause; Log.Debug(TAG, "Call ended. Reason: " + cause); outer.mAudioPlayer.StopProgressTone(); outer.VolumeControlStream = (Android.Media.Stream)AudioManager.UseDefaultStreamType; string endMsg = "Call ended: " + call.Details; Toast.MakeText(outer, endMsg, ToastLength.Long).Show(); outer.EndCall(); }
public override void onCallEnded(Call call) { CallEndCause cause = call.Details.EndCause; Log.d(TAG, "Call ended. Reason: " + cause.ToString()); outerInstance.mAudioPlayer.stopProgressTone(); VolumeControlStream = AudioManager.USE_DEFAULT_STREAM_TYPE; string endMsg = "Call ended: " + call.Details.ToString(); Toast.makeText(outerInstance, endMsg, Toast.LENGTH_LONG).show(); outerInstance.endCall(); }
internal static extern int GetEndCause(IntPtr handle, out CallEndCause endCause);