EMVoiceMessageBody.h 725 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * \~chinese
  3. * @header EMVoiceMessageBody.h
  4. * @abstract 语音消息体。
  5. * @author Hyphenate
  6. * @version 3.00
  7. *
  8. * \~english
  9. * @header EMVoiceMessageBody.h
  10. * @abstract The voice message body.
  11. * @author Hyphenate
  12. * @version 3.00
  13. */
  14. #import <Foundation/Foundation.h>
  15. #import "EMFileMessageBody.h"
  16. /**
  17. * \~chinese
  18. * 语音消息体。
  19. *
  20. * \~english
  21. * The voice message body.
  22. */
  23. @interface EMVoiceMessageBody : EMFileMessageBody
  24. /**
  25. * \~chinese
  26. * 语音时长,单位为秒。SDK 没有规定取值范围,用户可以根据需求设置。
  27. *
  28. * \~english
  29. * The voice duration, in seconds. You can customize the length accordingly.
  30. */
  31. @property (nonatomic) int duration;
  32. @end