Contents

mediaPlaybackState()

Determine the playback status of media in the page.

Declaration

@MainActor final func mediaPlaybackState() async -> WKMediaPlaybackState

Return Value

The current state of media playback within the page.

See Also

Interacting with media