WFCCLocationMessageContent.h 851 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // WFCCTextMessageContent.h
  3. // WFChatClient
  4. //
  5. // Created by heavyrain on 2017/8/16.
  6. // Copyright © 2017年 WildFireChat. All rights reserved.
  7. //
  8. #import "WFCCMessageContent.h"
  9. #import <CoreLocation/CoreLocation.h>
  10. #import <UIKit/UIKit.h>
  11. /**
  12. 位置消息
  13. */
  14. @interface WFCCLocationMessageContent : WFCCMessageContent
  15. /**
  16. 构造消息
  17. @param coordinate 坐标值
  18. @param title 位置信息
  19. @param thumbnail 缩略图
  20. @return 位置消息
  21. */
  22. + (instancetype)contentWith:(CLLocationCoordinate2D) coordinate
  23. title:(NSString *)title
  24. thumbnail:(UIImage *)thumbnail;
  25. /**
  26. 位置坐标
  27. */
  28. @property (nonatomic, assign)CLLocationCoordinate2D coordinate;
  29. /**
  30. 位置信息
  31. */
  32. @property (nonatomic, strong)NSString *title;
  33. /**
  34. 缩略图
  35. */
  36. @property (nonatomic, strong)UIImage *thumbnail;
  37. @end