AugnitoAudioStream class
Constructors
AugnitoAudioStream ({dynamic sampleRate = AugnitoAudioStream.defaultSampleRate , dynamic enableLogs = false })
Methods
checkPermissions ()
→ Future <bool >
Checks if the permissions for recording are enabled.
dispose ()
→ void
Cancels the audio stream and calls dispose on the native code handler.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startListening ({dynamic processSamples (dynamic )?, dynamic onError (dynamic )? })
→ Future <bool >
Attempts to initialize the audio stream and begins listening to the mic.
It can return false if an error is encountered or if the permission
to record audio has not been granted
stopListening ()
→ Future <bool >
Attempts to close the microphone stream.
toString ()
→ String
A string representation of this object.
inherited
augnito_flutter_sdk 0.0.4