SoundAnalysisBindings class
Injectable platform bindings and callback routing.
Constructors
- SoundAnalysisBindings({AppleSoundAnalysisHostApi? host, AppleSoundAnalysisPlatformApi? platform, bool registerCallbacks = true})
- Creates bindings; disable callback registration when driving fakes.
Properties
-
analyses
→ Map<
int, AnalysisSink> -
Active routes, for cancellation and leak checks.
final
- callbackHandler → AppleSoundAnalysisCallbackApi
-
Callback receiver; tests may invoke it directly.
latefinal
- cancellingAll ↔ bool
-
Blocks starts during a cancel-all operation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → AppleSoundAnalysisHostApi
-
Native operations.
final
- platform → AppleSoundAnalysisPlatformApi
-
Platform support query.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
nextRequestId(
) → int - Allocates an identifier for this engine's next analysis.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SoundAnalysisBindings
-
Bindings used for new analyses.
getter/setter pair