play_noise static method

Future<bool> play_noise(
  1. int frequency,
  2. int sampleRate,
  3. int actualVolume,
  4. int numSamples,
  5. int s,
)

Implementation

static Future<bool> play_noise(int frequency, int sampleRate,
    int actualVolume, int numSamples, int s) async {
  final bool play_noise =
      await _channel.invokeMethod("play_noise", <String, dynamic>{
    "frequency": frequency,
    "sampleRate": sampleRate,
    "actualVolume": actualVolume,
    "numSamples": numSamples,
    "s": s
  });
  return play_noise;
}