//
//  CustomParticipantListMenuHandlerImpl.m
//  HWMSDKDemo
//
//  Created by y00450113 on 2020/7/28.
//  Copyright © 2020 HuaWei. All rights reserved.
//

#import "CustomParticipantListMenuHandlerImpl.h"
#import "CustomInMeetingUIManager.h"

@implementation CustomParticipantListMenuHandlerImpl
/// 构建与会者列表底部toolbar上的菜单
- (NSArray <HWMConfToolBarMenuItem *> *)buildParticipantToolBarMenuItems{
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeMemberListToolBar];
}

/// 构建等候中列表底部toolbar上的菜单
- (NSArray<HWMConfToolBarMenuItem *> *)buildWaitingToolBarMenuItems {
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeWaitingListToolBar];
}

/// 构建未入会列表底部toolbar上的菜单
- (NSArray <HWMConfToolBarMenuItem *> *)buildOfflineToolBarMenuItems {
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeOfflineListToolBar];
}

/// 构建与会者列表底部toolbar上的“更多”菜单
- (NSArray <HWMConfMenuItem *> *)buildParticipantToolBarMoreMenuItems{
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeMemberListMore];
}

/// 构建与会者列表右上角的菜单
- (NSArray <HWMConfToolBarMenuItem *> *)buildParticipantTitleBarMenuItems{
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeMemberListTitleBar];
}


/// 构建与会者列表中成员点击弹出的actionsheet的菜单
- (NSArray <HWMConfParticipantActionMenuItem *> *)buildParticipantActionSheetItems{
    return [[CustomInMeetingUIManager sharedInstance] getCustomMenuItems:CustomUITypeMemberListActionSheet];
}

@end
