MethodChannelMicrophone class

Method channel implementation of the MicrophonePlatformInterface.

Inheritance

Constructors

MethodChannelMicrophone()

Properties

hashCode int
The hash code for this object.
no setterinherited
isMock bool
Only mock implementations should set this to true.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create() Future<int>
Creates an instance of a microphone recorder and returns its recorder ID.
override
dispose(int recorderId) Future<void>
Disposes one microphone recorder that has the given recorderId.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(int recorderId) Future<void>
Starts the recording of the microphone recorder with the given recorderId.
override
stop(int recorderId) Future<String>
Stops the recording of the recorder with recorderId and returns its recording URL.
override
toBytes(int recorderId) Future<Uint8List>
Returns the bytes of a stopped recording as a Uint8List.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited