MpAudioClassifierOptions class final
The options for configuring a MediaPipe AudioClassifier task.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - base_options ↔ MpBaseOptions
-
Base options for configuring MediaPipe Tasks, such as specifying the model
file with metadata, accelerator options, op resolver, etc.
getter/setter pair
- classifier_options ↔ MpClassifierOptions
-
Options for configuring the classifier behavior, such as score threshold,
number of results, etc.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
result_callback
↔ Pointer<
NativeFunction< Void Function(UnsignedInt status, Pointer< >MpAudioClassifierResult> result)> -
The user-defined result callback for processing audio stream data.
The result callback should only be specified when the running mode is set
to kMpAudioRunningModeAudioStream.
getter/setter pair
- running_mode ↔ MpAudioRunningMode
-
getter/setter pair
- running_modeAsInt ↔ int
-
The running mode of the audio classifier. Default to the audio clips mode.
Audio classifier has two running modes:
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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