BCOVPlaylist Class Reference

Inherits from NSObject
Conforms to BCOVPlaylistProtocol
NSCopying
NSMutableCopying
Declared in BrightcovePlayerSDK-Swift.h

Overview

Implementation of the BCOVPlaylist protocol.

  PropertiesKeyAccountId

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyAccountId

+ PropertiesKeyAccountId

+ (NSString *_Nonnull)PropertiesKeyAccountId

  PropertiesKeyDescription

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyDescription

+ PropertiesKeyDescription

+ (NSString *_Nonnull)PropertiesKeyDescription

  PropertiesKeyId

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyId

+ PropertiesKeyId

+ (NSString *_Nonnull)PropertiesKeyId

  PropertiesKeyName

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyName

+ PropertiesKeyName

+ (NSString *_Nonnull)PropertiesKeyName

  PropertiesKeyReferenceId

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyReferenceId

+ PropertiesKeyReferenceId

+ (NSString *_Nonnull)PropertiesKeyReferenceId

  PropertiesKeyType

@property (nonatomic, class, readonly, copy) NSString *PropertiesKeyType

+ PropertiesKeyType

+ (NSString *_Nonnull)PropertiesKeyType

  videos

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

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

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

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

– init

- (nonnull instancetype)init

– initWithVideos:properties:

returns: A new playlist with the specified videos.

- (nonnull instancetype)initWithVideos:(NSArray<BCOVVideo*> *_Nonnull)videos properties:(NSDictionary *_Nullable)properties

Discussion

returns: A new playlist with the specified videos.

Declared In

BrightcovePlayerSDK-Swift.h

– initWithVideos:

returns: A new playlist with the specified videos.

- (nonnull instancetype)initWithVideos:(NSArray<BCOVVideo*> *_Nonnull)videos

Discussion

returns: A new playlist with the specified videos.

Declared In

BrightcovePlayerSDK-Swift.h

– initWithVideo:properties:

returns: A new playlist with the specified video and properties.

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

Discussion

returns: A new playlist with the specified video and properties.

Declared In

BrightcovePlayerSDK-Swift.h

– initWithVideo:

returns: A new playlist with the specified video.

- (nonnull instancetype)initWithVideo:(BCOVVideo *_Nonnull)video

Discussion

returns: A new playlist with the specified video.

Declared In

BrightcovePlayerSDK-Swift.h

– objectAtIndexedSubscript:

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

- (BCOVVideo *_Nullable)objectAtIndexedSubscript:(NSInteger)index

Discussion

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

Declared In

BrightcovePlayerSDK-Swift.h

– isEqualToPlaylist:

returns: Whether playlist is equivalent to this instance.

- (BOOL)isEqualToPlaylist:(BCOVPlaylist *_Nonnull)playlist

Discussion

returns: Whether playlist is equivalent to this instance.

Declared In

BrightcovePlayerSDK-Swift.h

  count

returns: The number of videos in this instance.

@property (nonatomic, readonly) NSInteger count

Discussion

returns: The number of videos in this instance.

Declared In

BrightcovePlayerSDK-Swift.h

+ allPlayableVideosFrom:

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:

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

– update:

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

– isEqual:

- (BOOL)isEqual:(id _Nullable)object

  description

@property (nonatomic, readonly, copy) NSString *description

  hash

@property (nonatomic, readonly) NSUInteger hash

– copyWithZone:

- (id _Nonnull)copyWithZone:(struct _NSZone *_Nullable)zone

– mutableCopyWithZone:

- (id _Nonnull)mutableCopyWithZone:(struct _NSZone *_Nullable)zone