//
//  MediaTypeSwitchView.h
//  HWMSDKDemo
//
//
//  选择方式

#import <UIKit/UIKit.h>


NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, SelectType) {
    SelectTypeAudio,
    SelectTypeVideo,
    
};
typedef void (^SelectBlcok)(SelectType type);
@interface MediaTypeSwitchView : UIView
@property (nonatomic, strong, readonly) UIButton *audioBtn;
@property (nonatomic, strong, readonly) UIButton *videoBtn;
@property (nonatomic, copy) SelectBlcok selectBlcok;

- (void)changeMediaSelectType:(SelectType)type;
- (SelectType)currentSelectMediaType;
@end

NS_ASSUME_NONNULL_END
