BCOVPUIAdControlView Class Reference

Inherits from UIView
Declared in BCOVPUIAdControlView.h

Overview

Advertising controls view.

  adPodCount

Ad pod information for the current video. These values will be detected and set automatically. We do not recommend changing them.

@property (nonatomic) int adPodCount

Discussion

Ad pod information for the current video. These values will be detected and set automatically. We do not recommend changing them.

Declared In

BCOVPUIAdControlView.h

  adPodRemaining

@property (nonatomic) float adPodRemaining

  adPodIndex

@property (nonatomic) int adPodIndex

  adDuration

@property (nonatomic) float adDuration

  adCurrentTime

@property (nonatomic) float adCurrentTime

  adIsSkippable

@property (nonatomic) BOOL adIsSkippable

  adSkipTime

@property (nonatomic) float adSkipTime

  advertisingMode

Set to YES to change the Ad Control’s UI to the advertising state.

@property (nonatomic, readwrite) BOOL advertisingMode

Discussion

Set to YES to change the Ad Control’s UI to the advertising state.

Declared In

BCOVPUIAdControlView.h

  adPodCountdownButton

Ad pod countdown button

@property (nonatomic, readonly) BCOVPUIButton *adPodCountdownButton

Discussion

Ad pod countdown button

Declared In

BCOVPUIAdControlView.h

  learnMoreButton

Learn more button

@property (nonatomic, readonly) BCOVPUIButton *learnMoreButton

Discussion

Learn more button

Declared In

BCOVPUIAdControlView.h

  skipAdCountdownButton

Skip ad countdown button

@property (nonatomic, readonly) BCOVPUIButton *skipAdCountdownButton

Discussion

Skip ad countdown button

Declared In

BCOVPUIAdControlView.h

  skipAdButton

Skip ad button

@property (nonatomic, readonly) BCOVPUIButton *skipAdButton

Discussion

Skip ad button

Declared In

BCOVPUIAdControlView.h

  controlBarHeight

Height of control bar area. Used to compute location of controls. Should be set whenever control bar height changes.

@property (nonatomic, readwrite) float controlBarHeight

Discussion

Height of control bar area. Used to compute location of controls. Should be set whenever control bar height changes.

Declared In

BCOVPUIAdControlView.h

– showControls:

Show or hide all the standard controls

- (void)showControls:(BOOL)show

Parameters

show

YES to show; NO to hide.

Discussion

Show or hide all the standard controls

Declared In

BCOVPUIAdControlView.h

– enableControls:

Enable or disable all the standard controls

- (void)enableControls:(BOOL)enabled

Parameters

enabled

YES to enable; NO to disable.

Discussion

Enable or disable all the standard controls

Declared In

BCOVPUIAdControlView.h

– setFontSizeForControls:

Updates all label components with the specified font size.

- (void)setFontSizeForControls:(CGFloat)fontSize

Parameters

fontSize

The font size to update components with.

Discussion

Updates all label components with the specified font size.

Declared In

BCOVPUIAdControlView.h

– setTextColorForControls:forState:

Updates all controls with the specified color.

- (void)setTextColorForControls:(UIColor *)textColor forState:(UIControlState)state

Parameters

textColor

The color with which to update the control text.

state

Controls state that these changes will apply to.

Discussion

Updates all controls with the specified color.

Declared In

BCOVPUIAdControlView.h