Contents

setAllMediaPlaybackSuspended(_:)

Changes whether the webpage is suspending playback of all media in the page.

Declaration

@MainActor final func setAllMediaPlaybackSuspended(_ suspended: Bool) async

Parameters

  • suspended:

    Indicates whether the webpage should suspend media playback.

See Also

Interacting with media