medcorder_audio 0.0.6

Flutter Android iOS

Flutter audio record/play plugin. With medcorder_audio plugin you can integrate record/play audio support into your flutter app for iOS or Android.

medcorder_audio #

Flutter record/play audio plugin. #

pub package Language

Sponsored by Evrone

Developed for Evrone.com #

Funded by Medcorder Medcorder.com #

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

With the medcorder_audio plugin you can integrate record/play audio support into your flutter app for iOS or Android.

Plugin functions #

setAudioSettings #

Future
iOS only. open PlayAndRecord audio session
returns: 'OK', 'FAIL'

backAudioSettings #

Future
iOS only. close PlayAndRecord audio session
returns: 'OK', 'FAIL'

startRecord #

Future
start record audio file to app documents path
returns: 'OK', 'FAIL'

stopRecord #

Future
stop audio recording process
returns: 'OK', 'FAIL'

checkMicrophonePermissions #

Future
check if you have recording audio permissions
returns: 'OK', 'NO'

startPlay #

Future
start audio playing for file with position
returns: 'OK', 'FAIL'
params: Map<String, String>

KeyTypeDescription
fileStringString file Id
positiondoubleplay start position in seconds

stopPlay #

Future
stop audio playing
returns: 'OK', 'FAIL'\

Plugin events #

for recieving plugin events you need assign callback function
void _onEvent(dynamic event) {...}

recording events #

KeyTypeDescription
'code'String'recording',
'url'Stringrecording file url
'peakPowerForChannel'doublepeak power for channel
'currentTime'doublerecording time in seconds

playing events #

KeyTypeDescription
'code'String'playing', 'audioPlayerDidFinishPlaying'
'url'Stringplaying file url
'currentTime'doubleplaying time in seconds
'duration'doubleplaying file duration
10
likes
80
pub points
75%
popularity

Publisher

evrone.com

Flutter audio record/play plugin. With medcorder_audio plugin you can integrate record/play audio support into your flutter app for iOS or Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on medcorder_audio