BSYDownloadModel Class Reference

Inherits from NSObject
Declared in BSYDownloadModel.h

Overview

离线下载

  mediaId

资源id

@property (nonatomic, strong, readonly) NSString *mediaId

Declared In

BSYDownloadModel.h

  videoId

视频id

@property (nonatomic, strong, readonly) NSString *videoId

Declared In

BSYDownloadModel.h

  fileName

文件名

@property (nonatomic, strong, readonly) NSString *fileName

Declared In

BSYDownloadModel.h

  downloadUrl

文件下载地址

@property (nonatomic, strong, readonly) NSString *downloadUrl

Declared In

BSYDownloadModel.h

  filePath

存储路径

@property (nonatomic, strong, readonly) NSString *filePath

Declared In

BSYDownloadModel.h

  state

下载状态

@property (nonatomic, assign, readonly) BSYDownloadState state

Declared In

BSYDownloadModel.h

  type

资源类型

@property (nonatomic, assign, readonly) BSYDownloadType type

Declared In

BSYDownloadModel.h

  fileSize

文件大小

@property (nonatomic, assign, readonly) UInt64 fileSize

Declared In

BSYDownloadModel.h

  progress

下载进度 请参考:BSYDownloadProgress

@property (nonatomic, strong, readonly) BSYDownloadProgress *progress

Declared In

BSYDownloadModel.h

  progressBlock

下载进度更新回调

@property (nonatomic, copy) BSYDownloadProgressBlock progressBlock

Declared In

BSYDownloadModel.h

  stateBlock

下载状态更新

@property (nonatomic, copy) BSYDownloadStateBlock stateBlock

Declared In

BSYDownloadModel.h

  resolution

分辨率,lud、lhd、lsd

@property (nonatomic, strong, readonly) NSString *resolution

Discussion

lud:超清,lhd:高清,lsd:标清

Declared In

BSYDownloadModel.h

  resolutionDes

分辨率,超清、高清、标清

@property (nonatomic, strong, readonly) NSString *resolutionDes

Discussion

lud:超清,lhd:高清,lsd:标清

Declared In

BSYDownloadModel.h