‪JMSDK iOS  ‪v2.8.0
‪API文档
枚举 | 变量
JCAccountConstants.h 文件参考
#import <Foundation/Foundation.h>

浏览源代码.

枚举

enum  JCRequestAuthCodeType : NSInteger { JCRequestAuthCodeTypeFetchPassword = 0 , JCRequestAuthCodeTypeResetPassword , JCRequestAuthCodeTypeCreateAccount , JCRequestAuthCodeTypeAddRelationship }
 
enum  JCAccountReason : NSInteger {
  JCAccountReasonNone = -1 , JCAccountReasonAccountExist , JCAccountReasonAccountNotExist , JCAccountReasonAuthCodeError ,
  JCAccountReasonAuthCodeExpired , JCAccountReasonTooManyTimes , JCAccountReasonAuthBlocked , JCAccountReasonUnkownReason ,
  JCAccountReasonNoUserEntry , JCAccountReasonNotFound , JCAccountReasonPassowrdError
}
 

变量

NSString *const JCAccountTypePhone
 ‪账户类型 更多...
 
NSString *const JCAccountTypeEmail
 ‪邮箱 更多...
 
NSString *const JCAccountTypeUserName
 ‪用户名 更多...
 
NSString *const JCAccountTypeUid
 ‪uid 更多...
 
NSString *const JCAccountTypeFaceBook
 ‪FaceBook 更多...
 
NSString *const JCAccountTypeTwitter
 ‪Twitter 更多...
 
NSString *const JCAccountTypeSnapChat
 ‪SnapChat 更多...
 
NSString *const JCAccountTypeInstagram
 ‪Instagram 更多...
 
NSString *const JCAccountTypeWeibo
 ‪微博 更多...
 
NSString *const JCAccountTypeWechat
 ‪微信 更多...
 
NSString *const JCAccountTypeQQ
 ‪QQ 更多...
 

枚举类型说明

◆ JCAccountReason

enum JCAccountReason : NSInteger

请求验证码的业务类型枚举

枚举值
JCAccountReasonNone 

JCAccountReasonAccountExist 

账户已存在

JCAccountReasonAccountNotExist 

账户不存在

JCAccountReasonAuthCodeError 

验证码错误

JCAccountReasonAuthCodeExpired 

验证码过期

JCAccountReasonTooManyTimes 

调用太频繁

JCAccountReasonAuthBlocked 

验证失败

JCAccountReasonUnkownReason 

未知错误

JCAccountReasonNoUserEntry 

无效用户

JCAccountReasonNotFound 

未找到

JCAccountReasonPassowrdError 

原密码错误

◆ JCRequestAuthCodeType

enum JCRequestAuthCodeType : NSInteger

请求验证码的业务类型枚举

枚举值
JCRequestAuthCodeTypeFetchPassword 

获取加密密码

JCRequestAuthCodeTypeResetPassword 

重置密码

JCRequestAuthCodeTypeCreateAccount 

创建账户

JCRequestAuthCodeTypeAddRelationship 

添加关系

变量说明

◆ JCAccountTypeEmail

NSString* const JCAccountTypeEmail
extern

‪邮箱

◆ JCAccountTypeFaceBook

NSString* const JCAccountTypeFaceBook
extern

‪FaceBook

◆ JCAccountTypeInstagram

NSString* const JCAccountTypeInstagram
extern

‪Instagram

◆ JCAccountTypePhone

NSString* const JCAccountTypePhone
extern

‪账户类型

手机

◆ JCAccountTypeQQ

NSString* const JCAccountTypeQQ
extern

‪QQ

◆ JCAccountTypeSnapChat

NSString* const JCAccountTypeSnapChat
extern

‪SnapChat

◆ JCAccountTypeTwitter

NSString* const JCAccountTypeTwitter
extern

‪Twitter

◆ JCAccountTypeUid

NSString* const JCAccountTypeUid
extern

‪uid

◆ JCAccountTypeUserName

NSString* const JCAccountTypeUserName
extern

‪用户名

◆ JCAccountTypeWechat

NSString* const JCAccountTypeWechat
extern

‪微信

◆ JCAccountTypeWeibo

NSString* const JCAccountTypeWeibo
extern

‪微博