SystemScanSoundPlayer class

A dependency-free ScanSoundPlayer that uses the platform's system sounds (SystemSound).

Limited: on Android only the click sound exists, and it plays only when "touch sounds" are on in the system settings. Accepted scans click once, duplicates and rejections use SystemSoundType.alert where the platform has it. For distinct beeps, play the bundled WAV files with an audio plugin.

Implemented types

Constructors

SystemScanSoundPlayer()
Creates the player.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
play(ScanFeedbackKind kind) → Future<void>
Plays the sound for kind.
override
toString() → String
A string representation of this object.
inherited

Operators

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