enableBackgroundStreaming method

  1. @override
Future<void> enableBackgroundStreaming({
  1. BackgroundNotification? androidNotification,
})
override

Implementation

@override
Future<void> enableBackgroundStreaming({
  BackgroundNotification? androidNotification,
}) async {
  final args = <String, dynamic>{};
  if (androidNotification != null) {
    args['androidNotification'] = androidNotification.toMap();
  }
  await methodChannel.invokeMethod<void>('enableBackgroundStreaming', args);
}