MiniProgramMicrophoneManager class

Owns one pending recording and validates app-owned completed audio references.

Properties

hashCode → int
The hash code for this object.
no setterinherited
mediaManager → MiniProgramMediaManager
final
provider → MiniProgramMicrophoneProvider
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelFor(String miniProgramId) → Future<bool>
dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record({required String miniProgramId, required MiniProgramMicrophonePolicy policy, int maxDurationSeconds = 60, VoidCallback? onStarted}) → Future<MiniProgramMicrophoneResult>
releaseAllFor(String appId) → Future<void>
releaseRecording(String appId, MiniProgramMicrophoneResult result) → Future<void>
stopFor(String miniProgramId, {bool background = false}) → Future<bool>
toString() → String
A string representation of this object.
inherited

Operators

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