AudioTonePlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AudioTonePlatform
- Implementers
Constructors
- AudioTonePlatform()
- Constructs a AudioTonePlatform.
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
-
getMorseCodePlayDuration(
String morseCode) → Future< double> -
init(
AudioSampleRate sampleRate) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
) → Future< void> - 播放 Play
-
playMorseCode(
String morseCode) → Future< int> -
setDashDuration(
int dotsTimes) → Future< void> -
setDotDashIntervalDuration(
int dotsTimes) → Future< void> -
setFrequency(
AudioFrequency frequency) → Future< void> -
setLetterIntervalDuration(
int dotsTimes) → Future< void> - 设置字母之间的间隔时长(点的倍数) Set Duration of a Letter Interval (Dot counts) default value 3 dots, range 1-5 dots / 默认3个点,范围1-5个点
-
setSpeed(
int wpm) → Future< void> -
setVolume(
double volume) → Future< void> -
setWordsIntervalDuration(
int dotsTimes) → Future< void> - 设置单词间间隔时长(点的倍数) Set Duration of a Words Interval (Dot counts) default value 7 dots, range 3-20 dots / 默认7个点,范围3-20个点
-
stop(
) → Future< void> - 停止 Stop
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AudioTonePlatform
-
The default instance of AudioTonePlatform to use.
getter/setter pair