Commit 482677604ccf6bfd117c3a71082a9936016b839c
1 parent
24eaa74c
发布版
Showing
4 changed files
with
5 additions
and
9 deletions
CNLiveUploadYunSDKDemo/发布版SDK/CNLiveUploadYunSDK.framework/CNLiveUploadYunSDK
No preview for this file type
CNLiveUploadYunSDKDemo/发布版SDK/CNLiveUploadYunSDK.framework/Headers/CNLiveUpload.h
| ... | ... | @@ -9,8 +9,8 @@ |
| 9 | 9 | #import <Foundation/Foundation.h> |
| 10 | 10 | |
| 11 | 11 | typedef NS_ENUM(NSInteger, CNLiveYun_UploadType) { |
| 12 | - CNLiveYun_UploadType_Image, | |
| 13 | - CNLiveYun_UploadType_Video | |
| 12 | + CNLiveYun_UploadType_CommonFile, //普通文件 | |
| 13 | + CNLiveYun_UploadType_VideoFile //视频文件 | |
| 14 | 14 | }; |
| 15 | 15 | |
| 16 | 16 | @interface CNLiveUpload : NSObject |
| ... | ... | @@ -43,7 +43,9 @@ typedef NS_ENUM(NSInteger, CNLiveYun_UploadType) { |
| 43 | 43 | 如果失败回调,可以开辟子线程重新请求此API获取资源外链地址 |
| 44 | 44 | |
| 45 | 45 | @param bucketKey SP上传Bucket里文件的路径(包括扩展名) |
| 46 | - @param uploadType 上传文件类型:图片CNLiveYun_UploadType_Image和视频 CNLiveYun_UploadType_Video | |
| 46 | + @param uploadType 上传文件类型: | |
| 47 | + 普通文件 CNLiveYun_UploadType_CommonFile | |
| 48 | + 视频文件 CNLiveYun_UploadType_VideoFile | |
| 47 | 49 | @param successBlock 成功回调,返回上传资源外链地址 |
| 48 | 50 | @param failureBlock 失败回调,返回错误信息 |
| 49 | 51 | */ | ... | ... |
CNLiveUploadYunSDKDemo/发布版SDK/CNLiveUploadYunSDK.framework/Info.plist
No preview for this file type