addVolumeMeterCallback method

Future<int> addVolumeMeterCallback(
  1. int volumeMeterPointer,
  2. DiveVolumeMeterCallback callback
)

Implementation

Future<int> addVolumeMeterCallback(int volumeMeterPointer, DiveVolumeMeterCallback callback) async {
  _volumeMeterCallbacks[volumeMeterPointer] = callback;
  return await _channel
      .invokeMethod(_methodAddVolumeMeterCallback, {'volmeter_pointer': volumeMeterPointer});
}