AugnitoMicStream class
Bus between high level consumers and plugin native code.
Constructors
- AugnitoMicStream(bool enableLogs)
-
factory
Properties
-
audioStream
→ Stream<
Uint8List> -
Stream of PCM 16bit data from Microphone
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecording → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusStream
→ Stream<
SoundStreamStatus> -
Current status of the
RecorderStream
no setter
Methods
-
checkPermission(
) → Future -
dispose(
) → void -
initialize(
int sampleRate) → Future -
Initialize Recorder with specified
sampleRate
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startRecording(
) → Future -
Start recording. Recorder will start pushing audio chunks (PCM 16bit data)
to
audiostream
as Uint8List -
stopRecording(
) → Future - Recorder will stop recording and sending audio chunks to the audioStream.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited