cancelChooseDesktopMedia method

void cancelChooseDesktopMedia(
  1. int desktopMediaRequestId
)

Hides desktop media picker dialog shown by chooseDesktopMedia(). desktopMediaRequestId Id returned by chooseDesktopMedia()

Implementation

void cancelChooseDesktopMedia(int desktopMediaRequestId) {
  $js.chrome.desktopCapture.cancelChooseDesktopMedia(desktopMediaRequestId);
}