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.

86 lines
2.1 KiB

//
// JCGroupMember.h
// JCSDKOC
//
// Created by maikireton on 2017/8/15.
// Copyright © 2017年 juphoon. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JCGroupConstants.h"
/**
* @addtogroup
* @{
*/
/**
*
*/
@interface JCGroupMember : NSObject
/**
*
*/
@property (nonatomic, copy) NSString* groupId;
/**
*
*/
@property (nonatomic, copy) NSString* userId;
/**
*
* changeState @ref JCGroupChangeStateRemove userId
*/
@property (nonatomic, copy) NSString* uid;
/**
*
*/
@property (nonatomic, copy) NSString* displayName;
/**
*
* - @ref JCGroupMemberTypeOwner :
* - @ref JCGroupMemberTypeManager :
* - @ref JCGroupMemberTypeMember:
*/
@property (nonatomic) JCGroupMemberType memberType;
/**
*
* - @ref JCGroupChangeStateNone :
* - @ref JCGroupChangeStateAdd :
* - @ref JCGroupChangeStateUpdate :
* - @ref JCGroupChangeStateRemove :
* - @ref JCGroupChangeStateProperties :
*/
@property (nonatomic) JCGroupChangeState changeState;
/**
* JCGroupMember
* @param groupId
* @param userId
* @param uid
* @param displayName
* @param memberType
* - @ref JCGroupMemberTypeOwner :
* - @ref JCGroupMemberTypeManager :
* - @ref JCGroupMemberTypeMember :
* @param changeState
* - @ref JCGroupChangeStateNone :
* - @ref JCGroupChangeStateAdd :
* - @ref JCGroupChangeStateUpdate :
* - @ref JCGroupChangeStateRemove :
* - @ref JCGroupChangeStateProperties :
* @return JCGroupMember
*/
-(instancetype)init:(NSString*)groupId userId:(NSString*)userId uid:(NSString*)uid displayName:(NSString*)displayName memberType:(JCGroupMemberType)memberType changeState:(JCGroupChangeState)changeState;
@end
/**
* @}
*/