BCOVPUIPlayerView Class Reference
| Inherits from | UIView |
|---|---|
| Declared in | BCOVPUIPlayerView.h |
playbackController
The playback controller associated with this player view.
@property (nonatomic, weak) id<BCOVPlaybackController> playbackControllerDiscussion
The playback controller associated with this player view.
Declared In
BCOVPUIPlayerView.h
delegate
A delegate that conforms to BCOVPUIPlayerViewDelegate.
@property (nonatomic, weak) id<BCOVPUIPlayerViewDelegate> delegateDiscussion
A delegate that conforms to BCOVPUIPlayerViewDelegate.
Declared In
BCOVPUIPlayerView.h
contentContainerView
View that holds the video content.
@property (nonatomic, weak, readonly) UIView *contentContainerViewDiscussion
View that holds the video content.
Declared In
BCOVPUIPlayerView.h
contentOverlayView
View intended to contain views that overlay the video content.
@property (nonatomic, weak, readonly) UIView *contentOverlayViewDiscussion
View intended to contain views that overlay the video content.
Declared In
BCOVPUIPlayerView.h
interactivityOverlayView
View intended to contain views related to interactivity projects.
@property (nonatomic, weak, readonly) UIView *interactivityOverlayViewDiscussion
View intended to contain views related to interactivity projects.
Declared In
BCOVPUIPlayerView.h
controlsContainerView
View that contains all controls, static or fading. Set this view’s alpha to zero to hide all controls.
@property (nonatomic, weak, readonly) UIView *controlsContainerViewDiscussion
View that contains all controls, static or fading. Set this view’s alpha to zero to hide all controls.
Declared In
BCOVPUIPlayerView.h
controlsStaticView
View intended to contain control elements that should not be faded out/in.
@property (nonatomic, weak, readonly) UIView *controlsStaticViewDiscussion
View intended to contain control elements that should not be faded out/in.
Declared In
BCOVPUIPlayerView.h
controlsFadingView
View intended to contain control elements that should be faded out/in.
@property (nonatomic, weak, readonly) UIView *controlsFadingViewDiscussion
View intended to contain control elements that should be faded out/in.
Declared In
BCOVPUIPlayerView.h
controlsFadingViewVisible
The visible state of the controlsFadingView. Can be set manually to temporarily show or hide the controls.
@property (nonatomic) BOOL controlsFadingViewVisibleDiscussion
The visible state of the controlsFadingView. Can be set manually to temporarily show or hide the controls.
Declared In
BCOVPUIPlayerView.h
overlayView
View intended to contain views that should overlay all other views.
@property (nonatomic, weak, readonly) UIView *overlayViewDiscussion
View intended to contain views that should overlay all other views.
Declared In
BCOVPUIPlayerView.h
controlsView
The controlsView holds the playback controls, and is a subview of the controlsFadingView view.
@property (nonatomic, readonly) BCOVPUIBasicControlView *controlsViewDiscussion
The controlsView holds the playback controls, and is a subview of the controlsFadingView view.
Declared In
BCOVPUIPlayerView.h
adControlsView
Advertising controls view. This view is a subview of the controlsStaticView. This view holds the on-screen controls such as the ad countdown text, the “learn more” button, and the “skip button”.
@property (nonatomic, readonly) BCOVPUIAdControlView *adControlsViewDiscussion
Advertising controls view. This view is a subview of the controlsStaticView. This view holds the on-screen controls such as the ad countdown text, the “learn more” button, and the “skip button”.
Declared In
BCOVPUIPlayerView.h
video360NavigationMethod
Video 360 Settings The method for controlling the view orientation of a 360 video in the player view.
@property (nonatomic, readwrite) BCOVPUIVideo360NavigationMethod video360NavigationMethodDiscussion
Video 360 Settings The method for controlling the view orientation of a 360 video in the player view.
Declared In
BCOVPUIPlayerView.h
– initWithPlaybackController:
Initializes a BCOVPUIPlayerView using default options with the given BCOVPlaybackController.
- (instancetype)initWithPlaybackController:(id<BCOVPlaybackController>)playbackControllerParameters
playbackController |
The playback controller used by the player view. This must not be nil. |
|---|
Return Value
Fully initialized player view.
Discussion
Initializes a BCOVPUIPlayerView using default options with the given BCOVPlaybackController.
Declared In
BCOVPUIPlayerView.h
– initWithPlaybackController:options:
Initializes a BCOVPUIPlayerView using the provided BCOVPUIPlayerViewOptions and BCOVPlaybackController.
- (instancetype)initWithPlaybackController:(id<BCOVPlaybackController>)playbackController options:(BCOVPUIPlayerViewOptions *)optionsParameters
playbackController |
The playback controller used by the player view. This must not be nil. |
|---|---|
options |
The options for the player view. If nil, default options will be used. |
Return Value
Fully initialized player view.
Discussion
Initializes a BCOVPUIPlayerView using the provided BCOVPUIPlayerViewOptions and BCOVPlaybackController.
Declared In
BCOVPUIPlayerView.h
– initWithPlaybackController:options:controlsView:
Initializes a BCOVPUIPlayerView using the provided BCOVPUIPlayerViewOptions, BCOVPlaybackController and customized BCOVPUIBasicControlView.
- (instancetype)initWithPlaybackController:(id<BCOVPlaybackController>)playbackController options:(BCOVPUIPlayerViewOptions *)options controlsView:(BCOVPUIBasicControlView *)controlsViewParameters
playbackController |
The playback controller used by the player view. This must not be nil. |
|---|---|
options |
The options for the player view. If nil, default options will be used. |
controlsView |
The controls view to use in the player view. If nil, default controls view will be used. |
Return Value
Fully initialized player view.
Discussion
Initializes a BCOVPUIPlayerView using the provided BCOVPUIPlayerViewOptions, BCOVPlaybackController and customized BCOVPUIBasicControlView.
Declared In
BCOVPUIPlayerView.h
– performScreenTransitionWithScreenMode:
Performs screen transition to the designated mode.
- (void)performScreenTransitionWithScreenMode:(BCOVPUIScreenMode)screenModeParameters
screenMode |
The screen mode to transition to. |
|---|
Discussion
Performs screen transition to the designated mode.
Declared In
BCOVPUIPlayerView.h
– resetHideControlsIntervalTimer
Resets the timer used to keep track of when to hide the controls. If you implement your own controls, you can call this after the user taps on them to prevent the controls from hiding too soon.
- (void)resetHideControlsIntervalTimerDiscussion
Resets the timer used to keep track of when to hide the controls. If you implement your own controls, you can call this after the user taps on them to prevent the controls from hiding too soon.
Declared In
BCOVPUIPlayerView.h