BCOVPlaylistProtocol Protocol Reference

Conforms to NSObject
Declared in BrightcovePlayerSDK-Swift.h

Overview

Value class representing a playlist in the Brightcove Player SDK ecosystem. A playlist is an ordered collection of videos, as well as additional optional metadata about the collection in the form of properties.

  videos required method

The BCOVVideo instances which comprise this playlist.

@property (nonatomic, readonly, copy) NSArray<BCOVVideo*> *videos

Discussion

The BCOVVideo instances which comprise this playlist.

Declared In

BrightcovePlayerSDK-Swift.h

  properties required method

Additional properties or metadata related to this playlist.

@property (nonatomic, readonly, copy) NSDictionary *properties

Discussion

Additional properties or metadata related to this playlist.

Declared In

BrightcovePlayerSDK-Swift.h

  allPlayableVideos required method

Returns an array of error-free BCOVVideo objects, stripping out any BCOVVideo objects that contain an error.

@property (nonatomic, readonly, copy) NSArray<BCOVVideo*> *allPlayableVideos

Discussion

Returns an array of error-free BCOVVideo objects, stripping out any BCOVVideo objects that contain an error.

Declared In

BrightcovePlayerSDK-Swift.h

  allFailedVideos required method

Returns an array of error-free BCOVVideo objects, stripping out any BCOVVideo objects that contain an error.

@property (nonatomic, readonly, copy) NSArray<BCOVVideo*> *allFailedVideos

Discussion

Returns an array of error-free BCOVVideo objects, stripping out any BCOVVideo objects that contain an error.

Declared In

BrightcovePlayerSDK-Swift.h

– update: required method

returns: The copy of this cue point modified by updateBlock.

- (BCOVPlaylist *_Nonnull)update:(SWIFT_NOESCAPE void ( ^ _Nonnull ) ( BCOVMutablePlaylist *_Nonnull ))updateBlock

Discussion

returns: The copy of this cue point modified by updateBlock.

Declared In

BrightcovePlayerSDK-Swift.h

+ allPlayableVideosFrom: required method

returns: Returns an array of error-free BCOVVideo objects

+ (NSArray<BCOVVideo*> *_Nonnull)allPlayableVideosFrom:(NSArray<BCOVVideo*> *_Nonnull)videos

Discussion

returns: Returns an array of error-free BCOVVideo objects

Declared In

BrightcovePlayerSDK-Swift.h

+ allFailedVideosFrom: required method

returns: an array of BCOVVideo objects that contain errors

+ (NSArray<BCOVVideo*> *_Nonnull)allFailedVideosFrom:(NSArray<BCOVVideo*> *_Nonnull)videos

Discussion

returns: an array of BCOVVideo objects that contain errors

Declared In

BrightcovePlayerSDK-Swift.h