Contents

setMicrophoneCaptureState(_:)

Changes whether the webpage is using the microphone to capture audio.

Declaration

@MainActor final func setMicrophoneCaptureState(_ state: WKMediaCaptureState) async

Parameters

  • state:

    The new capture state the page should use.

See Also

Managing the microphone and camera