async void FabRec_Click(object sender, EventArgs e)
        {
            var resultMic = await CheckMicPermission();

            if (!resultMic)
            {
                return;
            }
            HideRecordingDialog();

            var recDialog = RecordingIndicator.GetInstance();

            recDialog.OnFinishRecording += RecDialog_OnFinishRecording;
            recDialog.Show(SupportFragmentManager, "rec");
        }
Ejemplo n.º 2
0
        async void FabRec_Click(object sender, EventArgs e)
        {
            if (!ViewModel.CurrentlyOpenDTO.OtherUserActivate)
            {
                DialogUtils.ShowOKDialog(this, "Warning", "User is inactive to receive message");
                return;
            }

            var resultMic = await CheckMicPermission();

            if (!resultMic)
            {
                return;
            }
            HideRecordingDialog();

            var recDialog = RecordingIndicator.GetInstance();

            recDialog.OnFinishRecording += RecDialog_OnFinishRecording;
            recDialog.Show(SupportFragmentManager, "rec");
        }