BCOVOfflineVideoStatus Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in BCOVOfflineVideoManager.h

Overview

BCOVOfflineVideoStatus This object keeps track of various pieces of information related to video downloads.

  offlineVideoToken

Offline video token used to identify the downloaded video

@property (nonatomic, readonly) BCOVOfflineVideoToken offlineVideoToken

Discussion

Offline video token used to identify the downloaded video

Declared In

BCOVOfflineVideoManager.h

  downloadState

The state of the current download

@property (nonatomic, readonly) BCOVOfflineVideoDownloadState downloadState

Discussion

The state of the current download

Declared In

BCOVOfflineVideoManager.h

  downloadStartTime

The NSDate that this download was requested (not when it started)

@property (nonatomic, readonly) NSDate *downloadStartTime

Discussion

The NSDate that this download was requested (not when it started)

Declared In

BCOVOfflineVideoManager.h

  downloadEndTime

The NSDate that this download finished (successfully, cancelled, or with an error)

@property (nonatomic, readonly) NSDate *downloadEndTime

Discussion

The NSDate that this download finished (successfully, cancelled, or with an error)

Declared In

BCOVOfflineVideoManager.h

  downloadPercent

The progress of the download, expressed as a percentage

@property (nonatomic, readonly) CGFloat downloadPercent

Discussion

The progress of the download, expressed as a percentage

Declared In

BCOVOfflineVideoManager.h

  downloadTask

The AVAssetDownloadTask associated with this download. Will be set to nil once the download has completed.

@property (nonatomic, readonly) AVAssetDownloadTask *downloadTask

Discussion

The AVAssetDownloadTask associated with this download. Will be set to nil once the download has completed.

Available in iOS 10.0+

Declared In

BCOVOfflineVideoManager.h

  aggregateDownloadTask

The AVAggregateAssetDownloadTask associated with this tracks download. Will be set to nil once the download has completed.

@property (nonatomic, readonly) AVAggregateAssetDownloadTask *aggregateDownloadTask

Discussion

The AVAggregateAssetDownloadTask associated with this tracks download. Will be set to nil once the download has completed.

Available in iOS 11.0+

Declared In

BCOVOfflineVideoManager.h

  error

The NSError associated with this download if a failure occurs.

@property (nonatomic, readonly) NSError *error

Discussion

The NSError associated with this download if a failure occurs.

Declared In

BCOVOfflineVideoManager.h