WebKit2.WebView.set_microphone_capture_state

### Method

# WebKit2 WebViewset_microphone_capture_state

#### Declaration [src]

    void
    webkit_web_view_set_microphone_capture_state (
      WebKitWebView* web_view,
      WebKitMediaCaptureState state
    )

#### Description [src]

Set the microphone capture state of a `WebKitWebView`.

If `WebKitSettings:enable-mediastream` is `FALSE`, this method will have no visible effect. Once the state of the device has been set to `WEBKIT_MEDIA_CAPTURE_STATE_NONE` it cannot be changed anymore. The page can however request capture again using the mediaDevices API.

Available since: | 2.34

Sets property | `WebKit2.WebView:microphone-capture-state`

#### Parameters

`state` | `WebKitMediaCaptureState`
| A `WebKitMediaCaptureState`.