Skip to content

Commit c58fbc4

Browse files
tmarzeionTomasz Marzeion
andauthored
Added missing recordingActive parameter to dart side of plugin (bluefireteam#870)
Co-authored-by: Tomasz Marzeion <tmarzeion@sii.pl>
1 parent 0dd622f commit c58fbc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/audioplayers/lib/src/audioplayer.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,15 @@ class AudioPlayer {
345345
String url, {
346346
bool? isLocal,
347347
bool respectSilence = false,
348+
bool recordingActive = false,
348349
}) {
349350
return _invokeMethod(
350351
'setUrl',
351352
<String, dynamic>{
352353
'url': url,
353354
'isLocal': isLocal ?? isLocalUrl(url),
354355
'respectSilence': respectSilence,
356+
'recordingActive': recordingActive,
355357
},
356358
);
357359
}

0 commit comments

Comments
 (0)