123456789101112131415161718192021222324252627282930 |
- #import <UIKit/UIKit.h>
- typedef enum{
- VoiceRecordViewTypeTouchDown,
- VoiceRecordViewTypeTouchUpInside,
- VoiceRecordViewTypeTouchUpOutside,
- VoiceRecordViewTypeDragInside,
- VoiceRecordViewTypeDragOutside,
- }VoiceRecordViewType;
- @interface WFCUVoiceRecordView : UIView
- @property (nonatomic) NSArray *voiceMessageAnimationImages UI_APPEARANCE_SELECTOR;
- @property (nonatomic) NSString *upCancelText UI_APPEARANCE_SELECTOR;
- @property (nonatomic) NSString *loosenCancelText UI_APPEARANCE_SELECTOR;
- #ifdef WFC_PTT
- @property (nonatomic, assign)BOOL isPtt;
- #endif
- -(void)setCountdown:(int)countdown;
- -(void)setVoiceImage:(double)voiceMeter;
- -(void)recordButtonTouchDown;
- -(void)recordButtonTouchUpInside;
- -(void)recordButtonTouchUpOutside;
- -(void)recordButtonDragInside;
- -(void)recordButtonDragOutside;
- @end
|