requestMediaPlaybackState(completionHandler:)
Requests the playback status of media in the web view.
Declaration
func requestMediaPlaybackState(completionHandler: @escaping @MainActor @Sendable (WKMediaPlaybackState) -> Void)func requestMediaPlaybackState() async -> WKMediaPlaybackStateParameters
- completionHandler:
A closure the system executes after the web view determines the current state of media playback.