NIMKitInfo.h 761 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // NIMKitInfo.h
  3. // NIMKit
  4. //
  5. // Created by amao on 2016/11/17.
  6. // Copyright © 2016年 NetEase. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface NIMKitInfo : NSObject
  11. /**
  12. * id,如果是用户信息,为用户id;如果是群信息,为群id
  13. */
  14. @property (nonatomic,copy) NSString *infoId;
  15. /**
  16. * 显示名
  17. */
  18. @property (nonatomic,copy) NSString *showName;
  19. //如果avatarUrlString为nil,则显示头像图片
  20. //如果avatarUrlString不为nil,则将头像图片当做占位图,当下载完成后显示头像url指定的图片。
  21. /**
  22. * 头像url
  23. */
  24. @property (nonatomic,copy) NSString *avatarUrlString;
  25. /**
  26. * 头像图片
  27. */
  28. @property (nonatomic,strong) UIImage *avatarImage;
  29. @end