Stay organized with collections
Save and categorize content based on your preferences.
GADVideoControllerDelegate
@protocol GADVideoControllerDelegate <NSObject>
The GADVideoControllerDelegate protocol defines methods that are called by the video controller
object in response to the video events that occurred throughout the lifetime of the video
rendered by an ad.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[[["The `GADVideoControllerDelegate` protocol provides methods to track video events within an ad, such as play, pause, end, mute, and unmute."],["These methods inform the delegate about changes in the video's playback state, allowing for customized responses to these events."],["Developers can implement these optional methods to monitor and manage the video playback experience within their ad integrations."],["Delegates are notified through calls to methods like `videoControllerDidPlayVideo`, `videoControllerDidPauseVideo`, etc., providing context about the specific event."]]],["The `GADVideoControllerDelegate` protocol informs the delegate about video events. It includes methods triggered when the video controller: starts or resumes playing (`videoControllerDidPlayVideo`), pauses (`videoControllerDidPauseVideo`), ends playback (`videoControllerDidEndVideoPlayback`), mutes (`videoControllerDidMuteVideo`), or unmutes (`videoControllerDidUnmuteVideo`). These methods provide the video controller instance that triggers the callback to the delegate. All methods are optional and called in response to events during the ad video's lifetime.\n"]]