setAudioMixingPosition method Null safety

Future<void> setAudioMixingPosition(
  1. int pos
)

Sets the playback position (ms) of the music file to a different starting position (the default plays from the beginning).

Note

Call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing) callback.

Parameter pos The playback starting position (ms) of the audio mixing file.

Implementation

@override
Future<void> setAudioMixingPosition(int pos) {
  return _invokeMethod('setAudioMixingPosition', {
    'pos': pos,
  });
}