HyphenateChatSDK 3.9.9.1
EMUserInfo.h
1//
2// EMUserInfo.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
19typedef NS_ENUM(NSInteger, EMUserInfoType) {
20 EMUserInfoTypeNickName = 0,
21 EMUserInfoTypeAvatarURL,
22 EMUserInfoTypePhone,
23 EMUserInfoTypeMail,
24 EMUserInfoTypeGender,
25 EMUserInfoTypeSign,
26 EMUserInfoTypeBirth,
27 EMUserInfoTypeExt = 100,
28};
36@interface EMUserInfo : NSObject<NSCopying>
37
43@property (nonatomic,copy) NSString * _Nullable userId;
44
50@property (nonatomic,copy) NSString * _Nullable nickname;
51
57@property (nonatomic,copy) NSString * _Nullable avatarUrl;
58
64@property (nonatomic,copy) NSString * _Nullable mail;
65
71@property (nonatomic,copy) NSString * _Nullable phone;
72
78@property (nonatomic) NSInteger gender;
79
85@property (nonatomic,copy) NSString* _Nullable sign;
86
92@property (nonatomic,copy) NSString* _Nullable birth;
93
99@property (nonatomic,copy) NSString * _Nullable ext;
100
101#pragma mark - EM_DEPRECATED_IOS 3.8.8
102
108@property (nonatomic,copy) NSString *nickName
109__deprecated_msg("Use nickname instead");
110
111@end
Definition: EMUserInfo.h:36
NSString *nickName __deprecated_msg("Use nickname instead")
NSString *_Nullable phone
Definition: EMUserInfo.h:71
NSInteger gender
Definition: EMUserInfo.h:78
NSString *_Nullable userId
Definition: EMUserInfo.h:43
NSString *_Nullable mail
Definition: EMUserInfo.h:64
NSString *_Nullable birth
Definition: EMUserInfo.h:92
NSString *_Nullable ext
Definition: EMUserInfo.h:99
NSString *_Nullable avatarUrl
Definition: EMUserInfo.h:57
NSString *_Nullable nickname
Definition: EMUserInfo.h:50
NSString *_Nullable sign
Definition: EMUserInfo.h:85