Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio recording in Xamarin.forms

I have a xamarin.forms project which has to record the audio and save it localy on the app.

Is there any plugin / api which can be used to achieve this?

Also I would like to know the source of the recorind ie. whether it is being recorded from microphone or is it from handsfree (speaker) without using microphone.

like image 665
Arti Avatar asked Feb 23 '16 09:02

Arti


1 Answers

There is no plugin that I know of that does this. you could create a generic service interface called IRecorder which has the functionality you need and then implement the IRecorder interface in the platform specific projects using called AndroidRecorder etc using the dependency service

when implementing your platform specific code you can use these samples

  • Android
  • iOS
  • Windows 10
like image 117
GeertvdC Avatar answered Sep 28 '22 06:09

GeertvdC