TuSDKCPOnlineController Class Reference

Inherits from TuSDKCPViewController : TuSDKICViewController : UIViewController
Conforms to TuSDKICWebViewDelegate
Declared in TuSDKCPOnlineController.h

Overview

在线资源控制器

  webView

Web视图

@property (nonatomic, readonly) TuSDKICWebView *webView

Declared In

TuSDKCPOnlineController.h

  viewClazz

视图类 (默认:TuSDKCPOnlineView, 需要继承 TuSDKCPOnlineView)

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKCPOnlineController.h

  detailDataId

详细数据ID

@property (nonatomic) uint64_t detailDataId

Declared In

TuSDKCPOnlineController.h

  onlineType

在线资源类型

@property (nonatomic, copy) NSString *onlineType

Declared In

TuSDKCPOnlineController.h

  args

url参数

@property (nonatomic, copy) NSString *args

Declared In

TuSDKCPOnlineController.h

– pageFinishedData

获取页面加载完成写入数据

- (NSString *)pageFinishedData

Return Value

pageFinishedData 页面加载完成写入数据

Declared In

TuSDKCPOnlineController.h

– handleDownload:

下载动作

- (void)handleDownload:(NSArray *)args

Parameters

args

请求参数

Declared In

TuSDKCPOnlineController.h

– handleCancel:

取消动作

- (void)handleCancel:(NSArray *)args

Parameters

args

请求参数

Declared In

TuSDKCPOnlineController.h

– handleSelected:

选中动作

- (void)handleSelected:(NSArray *)args

Parameters

args

请求参数

Declared In

TuSDKCPOnlineController.h

– handleDetail:

开启详细

- (void)handleDetail:(NSArray *)args

Parameters

args

请求参数

Declared In

TuSDKCPOnlineController.h

– onResourceDownloadWithIdt:key:fileId:

下载资源

- (void)onResourceDownloadWithIdt:(uint64_t)idt key:(NSString *)key fileId:(NSString *)fileId

Parameters

idt

资源ID

key

下载SN

fileId

文件ID

Declared In

TuSDKCPOnlineController.h

– onResourceCancelDownloadWithIdt:

取消下载资源

- (void)onResourceCancelDownloadWithIdt:(uint64_t)idt

Parameters

idt

资源ID

Declared In

TuSDKCPOnlineController.h

– notifyOnlineWithDownloadItem:

通知在线数据

- (void)notifyOnlineWithDownloadItem:(TuSDKNKDownloadItem *)item

Parameters

item

在线数据

Declared In

TuSDKCPOnlineController.h