BCOVPlaylist Class Reference

Inherits from NSObject
Conforms to BCOVPlaylist
NSCopying
Declared in BCOVPlaylist.h

Overview

Implementation of the BCOVPlaylist protocol.

– initWithVideos:properties:

Constructs a new playlist with the specified videos and properties.

- (instancetype)initWithVideos:(NSArray *)videos properties:(NSDictionary *)properties

Parameters

videos

The video contents of this playlist.

properties

The metadata or other properties related to this playlist.

Return Value

A new playlist with the specified videos.

Discussion

Constructs a new playlist with the specified videos and properties.

Declared In

BCOVPlaylist.h

– initWithVideos:

Constructs a new playlist with the specified videos.

- (instancetype)initWithVideos:(NSArray *)videos

Parameters

videos

The video contents of this playlist.

Return Value

A new playlist with the specified videos.

Discussion

Constructs a new playlist with the specified videos.

Declared In

BCOVPlaylist.h

– initWithVideo:properties:

Constructs a new playlist with the specified video and properties.

- (instancetype)initWithVideo:(BCOVVideo *)video properties:(NSDictionary *)properties

Parameters

video

The video contents of this playlist.

properties

The metadata or other properties related to this playlist.

Return Value

A new playlist with the specified video and properties.

Discussion

Constructs a new playlist with the specified video and properties.

Declared In

BCOVPlaylist.h

– initWithVideo:

Constructs a new playlist with the specified video.

- (instancetype)initWithVideo:(BCOVVideo *)video

Parameters

video

The video contents of this playlist.

Return Value

A new playlist with the specified video.

Discussion

Constructs a new playlist with the specified video.

Declared In

BCOVPlaylist.h

– objectAtIndexedSubscript:

Returns the video at the specified index, or nil if the specified index is greater than the highest index into the playlist.

- (BCOVVideo *)objectAtIndexedSubscript:(NSUInteger)index

Parameters

index

The index into this collection of the desired video.

Return Value

The video at the specified index, or nil if this playlist does not have a video at that index.

Discussion

Returns the video at the specified index, or nil if the specified index is greater than the highest index into the playlist.

Declared In

BCOVPlaylist.h

– isEqualToPlaylist:

Returns YES if playlist is equivalent to this instance.

- (BOOL)isEqualToPlaylist:(BCOVPlaylist *)playlist

Parameters

playlist

The playlist to test for equivalence with this instance.

Return Value

Whether playlist is equivalent to this instance.

Discussion

Returns YES if playlist is equivalent to this instance.

Declared In

BCOVPlaylist.h

– count

Returns the number of this instance’s videos.

- (NSUInteger)count

Return Value

The number of videos in this instance.

Discussion

Returns the number of this instance’s videos.

Declared In

BCOVPlaylist.h