medcorder_audio_test 0.9.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • new43

medcorder_audio_test

Flutter record/play audio plugin.

Developed for Evrone.com

Funded by David Weekly dweek.ly

Getting Started

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

For help on editing plugin code, view the documentation.

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

Plugin functions

setAudioSettings

Future<String> setAudioSettings() iOS only. open PlayAndRecord audio session returns: 'OK', 'FAIL'

backAudioSettings

Future<String> backAudioSettings() iOS only. close PlayAndRecord audio session returns: 'OK', 'FAIL'

startRecord

Future<String> startRecord(String fileId) start record audio file to app documents path returns: 'OK', 'FAIL'

stopRecord

Future<String> stopRecord() stop audio recording process returns: 'OK', 'FAIL'

checkMicrophonePermissions

Future<String> checkMicrophonePermissions() check if you have recording audio permissions returns: 'OK', 'NO'

startPlay

Future<String> startPlay(dynamic params) async 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<String> stopPlay() stop audio playing returns: 'OK', 'FAIL' params: Map<String, String>

Plugin events

for recieving plugin events you need assign callback function void _onEvent(Map<String, 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

[0.0.1] - TODO: Add release date.

  • audio record/play plugin

example/README.md

medcorder_audio_test_example

Demonstrates how to use the medcorder_audio_test plugin.

Getting Started

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  medcorder_audio_test: ^0.9.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:medcorder_audio_test/medcorder_audio_test.dart';
  
Version Uploaded Documentation Archive
0.9.0 Dec 8, 2018 Go to the documentation of medcorder_audio_test 0.9.0 Download medcorder_audio_test 0.9.0 archive
0.8.0 Dec 8, 2018 Go to the documentation of medcorder_audio_test 0.8.0 Download medcorder_audio_test 0.8.0 archive
0.7.0 Dec 7, 2018 Go to the documentation of medcorder_audio_test 0.7.0 Download medcorder_audio_test 0.7.0 archive
0.6.0 Dec 7, 2018 Go to the documentation of medcorder_audio_test 0.6.0 Download medcorder_audio_test 0.6.0 archive
0.5.0 Dec 7, 2018 Go to the documentation of medcorder_audio_test 0.5.0 Download medcorder_audio_test 0.5.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
43
Learn more about scoring.

We analyzed this package on Dec 8, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs (-10 points)

14 out of 14 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Fix lib/medcorder_audio_test.dart. (-0.50 points)

Analysis of lib/medcorder_audio_test.dart reported 1 hint:

line 3 col 8: Duplicate import.

Maintenance suggestions

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.58.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8