camera property

ContentSetting get camera

Whether to allow sites to access the camera. One of allow: Allow sites to access the camera, block: Don't allow sites to access the camera, ask: Ask when a site wants to access the camera. Default is ask. The primary URL is the URL of the document which requested camera access. The secondary URL is not used. NOTE: The 'allow' setting is not valid if both patterns are '<all_urls>'.

Implementation

ContentSetting get camera =>
    ContentSetting.fromJS($js.chrome.contentSettings.camera);