//
//  HWMSideListMenuItem.h
//  HWMConfUI
//
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, HWMSideListMenuType) {
    HWMSideListMenuTypeBreakout = 0, // 分组会议
    HWMSideListMenuTypeScreenRotate = 1, // 横竖屏切换
    HWMSideListMenuTypeButt
};

NS_ASSUME_NONNULL_BEGIN

@interface HWMSideListMenuItem : NSObject

@property (nonatomic, assign) HWMSideListMenuType type;
/// 默认状态图标
@property (nullable, nonatomic, strong) UIImage *image;
/// 选中状态图标
@property (nullable, nonatomic, strong) UIImage *selectedImage;
/// 点击事件
@property (nullable, nonatomic, copy) void (^actionEvent)(HWMSideListMenuType, UIButton *);
@property (nullable, nonatomic, copy) NSString *accessIdentity;

/// 分组会议
+ (instancetype)defaultBreakoutItem;

/// 横竖屏切换
+ (instancetype)defaultScreenRotateItem;

@end

NS_ASSUME_NONNULL_END
