EaseConvertToCommonEmoticonsHelper.h 929 B

123456789101112131415161718192021222324252627282930313233343536
  1. /************************************************************
  2. * * Hyphenate CONFIDENTIAL
  3. * __________________
  4. * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
  5. *
  6. * NOTICE: All information contained herein is, and remains
  7. * the property of Hyphenate Inc.
  8. * Dissemination of this information or reproduction of this material
  9. * is strictly forbidden unless prior written permission is obtained
  10. * from Hyphenate Inc.
  11. */
  12. #import <Foundation/Foundation.h>
  13. @interface EaseConvertToCommonEmoticonsHelper : NSObject
  14. /*!
  15. @method
  16. @brief 系统emoji表情转换为表情编码
  17. @discussion
  18. @param text 待转换的文字
  19. @return 转换后的文字
  20. */
  21. + (NSString *)convertToCommonEmoticons:(NSString *)text;
  22. /*!
  23. @method
  24. @brief 表情编码转换为系统emoji表情
  25. @discussion
  26. @param text 待转换的文字
  27. @return 转换后的文字
  28. */
  29. + (NSString *)convertToSystemEmoticons:(NSString *)text;
  30. @end