getDisplayMedia static method

  1. @Deprecated('Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead')
Future<MediaStream> getDisplayMedia(
  1. Map<String, dynamic> mediaConstraints
)

Implementation

@Deprecated(
    'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead')
static Future<MediaStream> getDisplayMedia(
    Map<String, dynamic> mediaConstraints) async {
  return navigator.mediaDevices.getDisplayMedia(mediaConstraints);
}