MethodChannelMicrophone class
Method channel implementation of the MicrophonePlatformInterface.
- Inheritance
-
- Object
- MicrophonePlatformInterface
- MethodChannelMicrophone
Constructors
Properties
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