BCOVPUIPlayerView Class Reference
Inherits from | UIView |
---|---|
Declared in | BCOVPUIPlayerView.h |
playbackController
The playback controller associated with this player view.
@property (nonatomic, weak) id<BCOVPlaybackController> playbackController
Discussion
The playback controller associated with this player view.
Declared In
BCOVPUIPlayerView.h
delegate
A delegate that conforms to BCOVPUIPlayerViewDelegate.
@property (nonatomic, weak) id<BCOVPUIPlayerViewDelegate> delegate
Discussion
A delegate that conforms to BCOVPUIPlayerViewDelegate.
Declared In
BCOVPUIPlayerView.h
contentContainerView
View that holds the video content.
@property (nonatomic, weak, readonly) UIView *contentContainerView
Discussion
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 *contentOverlayView
Discussion
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 *interactivityOverlayView
Discussion
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 *controlsContainerView
Discussion
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 *controlsStaticView
Discussion
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 *controlsFadingView
Discussion
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 controlsFadingViewVisible
Discussion
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 *overlayView
Discussion
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 *controlsView
Discussion
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 *adControlsView
Discussion
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 video360NavigationMethod
Discussion
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>)playbackController
Parameters
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 *)options
Parameters
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 *)controlsView
Parameters
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)screenMode
Parameters
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)resetHideControlsIntervalTimer
Discussion
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