WFCUVoiceRecordView.h 821 B

123456789101112131415161718192021222324252627282930
  1. #import <UIKit/UIKit.h>
  2. typedef enum{
  3. VoiceRecordViewTypeTouchDown,
  4. VoiceRecordViewTypeTouchUpInside,
  5. VoiceRecordViewTypeTouchUpOutside,
  6. VoiceRecordViewTypeDragInside,
  7. VoiceRecordViewTypeDragOutside,
  8. }VoiceRecordViewType;
  9. @interface WFCUVoiceRecordView : UIView
  10. @property (nonatomic) NSArray *voiceMessageAnimationImages UI_APPEARANCE_SELECTOR;
  11. @property (nonatomic) NSString *upCancelText UI_APPEARANCE_SELECTOR;
  12. @property (nonatomic) NSString *loosenCancelText UI_APPEARANCE_SELECTOR;
  13. #ifdef WFC_PTT
  14. @property (nonatomic, assign)BOOL isPtt;
  15. #endif
  16. -(void)setCountdown:(int)countdown;
  17. -(void)setVoiceImage:(double)voiceMeter;
  18. -(void)recordButtonTouchDown;
  19. -(void)recordButtonTouchUpInside;
  20. -(void)recordButtonTouchUpOutside;
  21. -(void)recordButtonDragInside;
  22. -(void)recordButtonDragOutside;
  23. @end