You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.2 KiB

//
// JCIMConstants.h
// JCSDKOC
//
// Created by maikireton on 2017/8/11.
// Copyright © 2017年 juphoon. All rights reserved.
//
#import <Foundation/Foundation.h>
/// @addtogroup 错误码
/// @{
/**
*
*/
typedef NS_ENUM(NSInteger, JCStorageReason) {
/// 无异常
JCStorageReasonNone,
/// 未登录
JCStorageReasonNotLogin,
/// 网络异常
JCStorageReasonNetWork,
/// 文件太大
JCStorageReasonTooLarge = 30,
/// 超时
JCStorageReasonTimeOut,
/// 文件过期
JCStorageReasonExpire,
/// 其他错误
JCStorageReasonOther = 100,
};
/// @}
/// @addtogroup 文件存储模块
/// @{
/**
*
*/
typedef NS_ENUM(NSInteger, JCStorageItemState) {
/// 文件初始状态
JCStorageItemStateInit,
/// 文件传输中状态
JCStorageItemStateTransfering,
/// 文件传输成功状态
JCStorageItemStateOK,
/// 文件传输失败状态
JCStorageItemStateFail,
/// 文件传输取消状态
JCStorageItemStateCancel,
};
/**
*
*/
typedef NS_ENUM(NSInteger, JCStorageItemDirection) {
/// 上传
JCStorageItemDirectionUpload,
/// 下载
JCStorageItemDirectionDownload,
};
/// @}