BCOVTVInfoTabBarItemView Class Reference

Inherits from BCOVTVTabBarItemView : UIView
Declared in BCOVTVTabBarItemView.h

Overview

BCOVTVInfoTabBarItemView Class for the “Info” tab bar panel The default view displays basic information taken from the Playback API response. You can override this information manually by setting the text labels and image view when tabBarItemViewDidAdvanceToPlaybackSession: is called.

  posterImageView

Displays the poster view referenced in the Playback API response.

@property (nonatomic) UIImageView *posterImageView

Discussion

Displays the poster view referenced in the Playback API response.

Declared In

BCOVTVTabBarItemView.h

  titleLabel

titleLabel displays the “name” property from the Playback API response.

@property (nonatomic) UILabel *titleLabel

Discussion

titleLabel displays the “name” property from the Playback API response.

Declared In

BCOVTVTabBarItemView.h

  infoLabel

infoLabel displays the “duration” property from the Playback API response.

@property (nonatomic) UILabel *infoLabel

Discussion

infoLabel displays the “duration” property from the Playback API response.

Declared In

BCOVTVTabBarItemView.h

  descriptionLabel

descriptionLabel displays the “long_description” property from the Playback API response.

@property (nonatomic) UILabel *descriptionLabel

Discussion

descriptionLabel displays the “long_description” property from the Playback API response.

Declared In

BCOVTVTabBarItemView.h

  moreButton

moreButton appears if the descriptionLabel text is too big to fit in the view. When triggered it presents the text as a scrolling UITextView in a new UIViewController using BCOVTVPlayerView.options.presentingViewController as the presenting view controller.

@property (nonatomic) UIButton *moreButton

Discussion

moreButton appears if the descriptionLabel text is too big to fit in the view. When triggered it presents the text as a scrolling UITextView in a new UIViewController using BCOVTVPlayerView.options.presentingViewController as the presenting view controller.

Declared In

BCOVTVTabBarItemView.h

+ viewWithPlayerView:

Returns a new instance of the BCOVTVInfoTabBarItemView class.

+ (instancetype)viewWithPlayerView:(BCOVTVPlayerView *)playerView

Parameters

playerView

The TV Player View that will contain this tab bar item view.

Discussion

Returns a new instance of the BCOVTVInfoTabBarItemView class.

Declared In

BCOVTVTabBarItemView.h