PlaybackRoutingConfig class
Native playback ducking and restoration policy.
Constructors
- PlaybackRoutingConfig({AudioRoutingOverride? onPlay, AudioRoutingOverride? onFinishPlaying, int? msBeforeUnduck})
-
Creates playback start/finish routing overrides.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- msBeforeUnduck → int?
-
Delay before restoring unducked audio after playback.
final
- onFinishPlaying → AudioRoutingOverride?
-
Override applied when playback finishes.
final
- onPlay → AudioRoutingOverride?
-
Override applied immediately before playback starts.
final
- 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
-
toJson(
) → Map< String, dynamic> - Converts this policy to the native JSON-compatible representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited