triggerBeeperBurst method

  1. @override
Future<void> triggerBeeperBurst(
  1. int repeat,
  2. int duration,
  3. int pulseDuration,
  4. int intensity,
)
override

Triggers a beeper burst pattern on the Nimmsta device.

repeat specifies the number of bursts. duration is the total duration of the burst sequence in milliseconds. pulseDuration defines the duration of a single pulse. intensity represents the sound intensity of the beeper.

Implementation

@override
Future<void> triggerBeeperBurst(
    int repeat, int duration, int pulseDuration, int intensity) async {
  return await _methodChannel.invokeMethod("triggerBeeperBurst", {
    "repeat": repeat,
    "duration": duration,
    "pulseDuration": pulseDuration,
    "intensity": intensity
  });
}