CNLiveMultipartUpload.h 1003 Bytes
//
//  CNLiveMultipartUpload.h
//  CNLiveUploadYunSDK
//
//  Created by 张旭 on 2017/8/24.
//  Copyright © 2017年 cnlive. All rights reserved.
//

#import "CNLiveOwner.h"
#import <Foundation/Foundation.h>

//上传类型
typedef enum {
    kCNLiveUploadNormal = 0,      //沙盒里或工程里
    kCNLiveUploadAlasset,         //相册中
} CNLiveUploadType;


@interface CNLiveMultipartUpload : NSObject

@property(nonatomic, strong) NSString *key;

@property(nonatomic, strong) NSString *bucket;

@property(nonatomic, strong) NSString *uploadId;

@property(nonatomic, strong) NSString *storageClass;

@property(nonatomic, strong) CNLiveOwner *initiator;

@property(nonatomic, strong) CNLiveOwner *owner;

@property(nonatomic, strong) NSDate *initiated;

@property(assign, readonly) BOOL isCanceled;

@property(assign, nonatomic, readonly) BOOL isPaused;

@property(assign, nonatomic) CNLiveUploadType uploadType;

//暂停
- (void)pause;
//继续
- (void)proceed;
//取消
- (void)cancel;


@end