SonicFrequenciesPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- SonicFrequenciesPlatform
- Implementers
Constructors
- SonicFrequenciesPlatform()
- Constructs a SonicFrequenciesPlatform.
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
-
generateSweep(
{double startFrequency = 200.0, double endFrequency = 2000.0, int duration = 3000, double volume = 1.0}) → Future< bool> - Generates a frequency sweep from startFrequency to endFrequency.
-
generateTone(
{double frequency = 440.0, double volume = 1.0, int? duration}) → Future< bool> - Generates a tone with the specified frequency, volume, and duration.
-
getPlatformVersion(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stopTone(
) → Future< bool> - Stops any currently playing tone or sweep.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SonicFrequenciesPlatform
-
The default instance of SonicFrequenciesPlatform to use.
getter/setter pair