microphone property

ContentSetting get microphone

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

Implementation

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