AgoraChatSDK 1.2.0
AgoraChatUserInfo.h
1//
2// AgoraChatUserInfo.h
3// libHyphenateSDK.a
4//
5// Created by lixiaoming on 2021/3/17.
6// Copyright © 2021 easemob.com. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
15typedef NS_ENUM(NSInteger, AgoraChatUserInfoType) {
16 AgoraChatUserInfoTypeNickName = 0,
17 AgoraChatUserInfoTypeAvatarURL,
18 AgoraChatUserInfoTypePhone,
19 AgoraChatUserInfoTypeMail,
20 AgoraChatUserInfoTypeGender,
21 AgoraChatUserInfoTypeSign,
22 AgoraChatUserInfoTypeBirth,
23 AgoraChatUserInfoTypeExt = 100,
24};
29@interface AgoraChatUserInfo : NSObject<NSCopying>
30
34@property (nonatomic,copy) NSString * _Nullable userId;
35
39@property (nonatomic,copy) NSString * _Nullable nickname;
40
44@property (nonatomic,copy) NSString * _Nullable avatarUrl;
45
49@property (nonatomic,copy) NSString * _Nullable mail;
50
54@property (nonatomic,copy) NSString * _Nullable phone;
55
59@property (nonatomic) NSInteger gender;
60
64@property (nonatomic,copy) NSString* _Nullable sign;
65
69@property (nonatomic,copy) NSString* _Nullable birth;
70
74@property (nonatomic,copy) NSString * _Nullable ext;
75
76#pragma mark - EM_DEPRECATED_IOS 3.8.8
77
81@property (nonatomic,copy) NSString *nickName
82__deprecated_msg("Use nickname instead");
83
84@end
Definition: AgoraChatUserInfo.h:29
NSString *_Nullable avatarUrl
Definition: AgoraChatUserInfo.h:44
NSString *_Nullable nickname
Definition: AgoraChatUserInfo.h:39
NSString *_Nullable birth
Definition: AgoraChatUserInfo.h:69
NSString *_Nullable userId
Definition: AgoraChatUserInfo.h:34
NSInteger gender
Definition: AgoraChatUserInfo.h:59
NSString *_Nullable mail
Definition: AgoraChatUserInfo.h:49
NSString *nickName __deprecated_msg("Use nickname instead")
NSString *_Nullable ext
Definition: AgoraChatUserInfo.h:74
NSString *_Nullable phone
Definition: AgoraChatUserInfo.h:54
NSString *_Nullable sign
Definition: AgoraChatUserInfo.h:64