BCOVTVPlayerViewDelegate Protocol Reference

Conforms to NSObject
Declared in BCOVTVPlayerView.h

Overview

Conform to this protocol to receive information about the BCOVTVPlayerView.

– playerView:controlsFadingViewWillFadeOut:

Called just before the playerView controls fade out.

- (void)playerView:(BCOVTVPlayerView *)playerView controlsFadingViewWillFadeOut:(UIView *)controlsFadingView

Parameters

playerView

The player view that manages the controls.

controlsFadingView

The controls fading view that will fade out.

Discussion

Called just before the playerView controls fade out.

Declared In

BCOVTVPlayerView.h

– playerView:controlsFadingViewWillFadeIn:

Called just before the playerView controls fade in.

- (void)playerView:(BCOVTVPlayerView *)playerView controlsFadingViewWillFadeIn:(UIView *)controlsFadingView

Parameters

playerView

The player view that manages the controls.

controlsFadingView

The controls fading view that will fade in.

Discussion

Called just before the playerView controls fade in.

Declared In

BCOVTVPlayerView.h

– playerView:controlsFadingViewDidFadeOut:

Called when the playerView controls have faded out.

- (void)playerView:(BCOVTVPlayerView *)playerView controlsFadingViewDidFadeOut:(UIView *)controlsFadingView

Parameters

playerView

The player view that manages the controls.

controlsFadingView

The controls fading view that faded out.

Discussion

Called when the playerView controls have faded out.

Declared In

BCOVTVPlayerView.h

– playerView:controlsFadingViewDidFadeIn:

Called when the playerView controls have faded in.

- (void)playerView:(BCOVTVPlayerView *)playerView controlsFadingViewDidFadeIn:(UIView *)controlsFadingView

Parameters

playerView

The player view that manages the controls.

controlsFadingView

The controls fading view that faded in.

Discussion

Called when the playerView controls have faded in.

Declared In

BCOVTVPlayerView.h

– playerViewShouldRequireLinearPlayback:

Called when the user is attempting to seek or skip over video content. Return YES to prevent seeking and skipping. Return NO to permit seeking and skipping. The default behavior is to allow seeking. Analogous to the requireLinearPlayback property of AVPlayerViewController.

- (BOOL)playerViewShouldRequireLinearPlayback:(BCOVTVPlayerView *)playerView

Discussion

Called when the user is attempting to seek or skip over video content. Return YES to prevent seeking and skipping. Return NO to permit seeking and skipping. The default behavior is to allow seeking. Analogous to the requireLinearPlayback property of AVPlayerViewController.

Declared In

BCOVTVPlayerView.h