BCOVPUIPlayerViewOptions Class Reference

Inherits from NSObject
Declared in BCOVPUIPlayerView.h

Overview

Optional configuration for a player view.

  preferredBitrateConfig

The configuration for displaying preferred bitrate options to the end-user

@property (nonatomic, strong) BCOVPreferredBitrateConfig *preferredBitrateConfig

Discussion

The configuration for displaying preferred bitrate options to the end-user

Declared In

BCOVPUIPlayerView.h

  presentingViewController

This view controller will be used for features that require a presenting view controller, like full screen mode or the closed-caption popover.

@property (nonatomic, weak) UIViewController *presentingViewController

Discussion

This view controller will be used for features that require a presenting view controller, like full screen mode or the closed-caption popover.

Declared In

BCOVPUIPlayerView.h

  jumpBackInterval

The time in seconds to jump back when the jump back button is pressed. Defaults to 10 seconds.

@property (nonatomic, assign) NSTimeInterval jumpBackInterval

Discussion

The time in seconds to jump back when the jump back button is pressed. Defaults to 10 seconds.

Declared In

BCOVPUIPlayerView.h

  hideControlsInterval

The time in seconds since the last touch before fading the controls. Defaults to 3 seconds. See -resetHideControlsIntervalTimer for related usage.

@property (nonatomic, assign) NSTimeInterval hideControlsInterval

Discussion

The time in seconds since the last touch before fading the controls. Defaults to 3 seconds. See -resetHideControlsIntervalTimer for related usage.

Declared In

BCOVPUIPlayerView.h

  hideControlsAnimationDuration

The time in seconds for animating the hiding of the controls. Defaults to .5 seconds.

@property (nonatomic, assign) NSTimeInterval hideControlsAnimationDuration

Discussion

The time in seconds for animating the hiding of the controls. Defaults to .5 seconds.

Declared In

BCOVPUIPlayerView.h

  showControlsAnimationDuration

The time in seconds for animating the showing of the controls. Defaults to .2 seconds.

@property (nonatomic, assign) NSTimeInterval showControlsAnimationDuration

Discussion

The time in seconds for animating the showing of the controls. Defaults to .2 seconds.

Declared In

BCOVPUIPlayerView.h

  learnMoreButtonBrowserStyle

The style to use for opening web views when the Learn More button is tapped. Defaults to BCOVPUILearnMoreButtonUseExternalBrowser.

@property (nonatomic, assign) BCOVPUILearnMoreButtonBrowserStyle learnMoreButtonBrowserStyle

Discussion

The style to use for opening web views when the Learn More button is tapped. Defaults to BCOVPUILearnMoreButtonUseExternalBrowser.

NOTE: The IMA SDK uses its own internal behavior for the Learn More button. Thus this property will have no effect with IMA ads. See linkOpenerPresentingController in the IMAAdsRenderingSettings class for more information.

Declared In

BCOVPUIPlayerView.h

  panMin

The minimum allowable value for the pan setting when finger tracking Defaults to negative infinity.

@property (nonatomic, assign) float panMin

Discussion

The minimum allowable value for the pan setting when finger tracking Defaults to negative infinity.

Declared In

BCOVPUIPlayerView.h

  panMax

The maximum allowable value for the pan setting when finger tracking Defaults to positive infinity.

@property (nonatomic, assign) float panMax

Discussion

The maximum allowable value for the pan setting when finger tracking Defaults to positive infinity.

Declared In

BCOVPUIPlayerView.h

  panInertia

Determines speed with which a pan gesture fling decays. Defaults to 1.0. Larger values cause the fling to decay more slowly. Smaller values cause the fling to stop quickly. A value of 0.0 stops panning immediately after touch-up.

@property (nonatomic, assign) float panInertia

Discussion

Determines speed with which a pan gesture fling decays. Defaults to 1.0. Larger values cause the fling to decay more slowly. Smaller values cause the fling to stop quickly. A value of 0.0 stops panning immediately after touch-up.

Declared In

BCOVPUIPlayerView.h

  tiltMin

The minimum allowable value for the tilt setting when finger tracking Defaults to negative infinity.

@property (nonatomic, assign) float tiltMin

Discussion

The minimum allowable value for the tilt setting when finger tracking Defaults to negative infinity.

Declared In

BCOVPUIPlayerView.h

  tiltMax

The maximum allowable value for the tilt setting when finger tracking Defaults to positive infinity.

@property (nonatomic, assign) float tiltMax

Discussion

The maximum allowable value for the tilt setting when finger tracking Defaults to positive infinity.

Declared In

BCOVPUIPlayerView.h

  zoomMin

The minimum allowable value for the zoom setting when finger tracking Defaults to 1.0.

@property (nonatomic, assign) float zoomMin

Discussion

The minimum allowable value for the zoom setting when finger tracking Defaults to 1.0.

Declared In

BCOVPUIPlayerView.h

  zoomMax

The maximum allowable value for the zoom setting when finger tracking Defaults to 1.0.

@property (nonatomic, assign) float zoomMax

Discussion

The maximum allowable value for the zoom setting when finger tracking Defaults to 1.0.

Declared In

BCOVPUIPlayerView.h

  rotateMin

The minimum allowable value for the rotate setting when finger tracking Defaults to 0.0.

@property (nonatomic, assign) float rotateMin

Discussion

The minimum allowable value for the rotate setting when finger tracking Defaults to 0.0.

Declared In

BCOVPUIPlayerView.h

  rotateMax

The maximum allowable value for the pan setting when finger tracking Defaults to 0.0.

@property (nonatomic, assign) float rotateMax

Discussion

The maximum allowable value for the pan setting when finger tracking Defaults to 0.0.

Declared In

BCOVPUIPlayerView.h

  showPictureInPictureButton

Will display the Picture-in-Picture button on the control bar on supported devices.

@property (nonatomic, assign) BOOL showPictureInPictureButton

Discussion

Will display the Picture-in-Picture button on the control bar on supported devices.

Declared In

BCOVPUIPlayerView.h

  automaticControlTypeSelection

Will automatically select an appropriate BCOVPUIBasicControlView for the current video.

@property (nonatomic, assign) BOOL automaticControlTypeSelection

Discussion

Will automatically select an appropriate BCOVPUIBasicControlView for the current video.

Declared In

BCOVPUIPlayerView.h

  automaticControlTypeSelectionUsesShutter

When enabled a shutter view will be added and faded-out when control views are changed between videos. If this is not enabled you may see a flicker between videos when control views are swapped. Defaults to YES.

@property (nonatomic, assign) BOOL automaticControlTypeSelectionUsesShutter

Discussion

When enabled a shutter view will be added and faded-out when control views are changed between videos. If this is not enabled you may see a flicker between videos when control views are swapped. Defaults to YES.

Declared In

BCOVPUIPlayerView.h

  automaticControlTypeSelectionShutterFadeTime

The fade-out time for the shutter view used between videos when automaticControlTypeSelection and automaticControlTypeSelectionUsesShutter are enabled. Defaults to 0.5

@property (nonatomic, assign) float automaticControlTypeSelectionShutterFadeTime

Discussion

The fade-out time for the shutter view used between videos when automaticControlTypeSelection and automaticControlTypeSelectionUsesShutter are enabled. Defaults to 0.5

Declared In

BCOVPUIPlayerView.h

  keepControlsVisible

When enabled, this property will effectively disable the controls from hiding during playback. Typically used for audio-only playback. Defaults to ‘NO’.

@property (nonatomic, assign) BOOL keepControlsVisible

Discussion

When enabled, this property will effectively disable the controls from hiding during playback. Typically used for audio-only playback. Defaults to ‘NO’.

Declared In

BCOVPUIPlayerView.h

  contentModeForPosterImage

The UIViewContentMode for the poster image UIImageView which is displayed for audio-only streams. Defaults to UIViewContentModeScaleAspectFit.

@property (nonatomic, assign) UIViewContentMode contentModeForPosterImage

Discussion

The UIViewContentMode for the poster image UIImageView which is displayed for audio-only streams. Defaults to UIViewContentModeScaleAspectFit.

Declared In

BCOVPUIPlayerView.h

  showBumperControls

When enabled, this property will show the bumper controls during playback. Defaults to YES.

@property (nonatomic, assign) BOOL showBumperControls

Discussion

When enabled, this property will show the bumper controls during playback. Defaults to YES.

Declared In

BCOVPUIPlayerView.h