GADVideoControllerDelegate

@protocol GADVideoControllerDelegate <NSObject>

The GADVideoControllerDelegate protocol defines methods that are called by the video controller object in response to the video events that occured throught the lifetime of the video rendered by an ad.

  • Tells the delegate that the video controller has began or resumed playing a video.

    Declaration

    Swift

    optional func videoControllerDidPlayVideo(_ videoController: Any!)

    Objective-C

    - (void)videoControllerDidPlayVideo:
        (nonnull GADVideoController *)videoController;
  • Tells the delegate that the video controller has paused video.

    Declaration

    Swift

    optional func videoControllerDidPauseVideo(_ videoController: Any!)

    Objective-C

    - (void)videoControllerDidPauseVideo:
        (nonnull GADVideoController *)videoController;
  • Tells the delegate that the video controller’s video playback has ended.

    Declaration

    Swift

    optional func videoControllerDidEndVideoPlayback(_ videoController: Any!)

    Objective-C

    - (void)videoControllerDidEndVideoPlayback:
        (nonnull GADVideoController *)videoController;
  • Tells the delegate that the video controller has muted video.

    Declaration

    Swift

    optional func videoControllerDidMuteVideo(_ videoController: Any!)

    Objective-C

    - (void)videoControllerDidMuteVideo:
        (nonnull GADVideoController *)videoController;
  • Tells the delegate that the video controller has unmuted video.

    Declaration

    Swift

    optional func videoControllerDidUnmuteVideo(_ videoController: Any!)

    Objective-C

    - (void)videoControllerDidUnmuteVideo:
        (nonnull GADVideoController *)videoController;