public void RecordingComplete(RecordingCompleteMessage message)
 {
     AudioRecording = message.Recording;
     AudioRecordingFileExtension = message.FileExtension;
 }
 private void ReturnAudioInformation()
 {
     if ((_mediaService.GetRecording() == null || _mediaService.GetRecording().Length == 0) ||
         string.IsNullOrEmpty(_mediaService.GetRecordingFileExtension()))
     {
         UserDialogs.Alert("No Recording to Return.");
     }
     var message = new RecordingCompleteMessage(this)
     {
         FileExtension = _mediaService.GetRecordingFileExtension(),
         Recording = _mediaService.GetRecording()
     };
     _msg.Publish(message);
     Close(this);
 }