//
//  ERTCShareTipView.h
//  ERTCDemo
//
//  Created by wangjinlong23 on 2022/11/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class ERTCShareTipView;
@protocol ERTCShareTipViewProtocol <NSObject>
@optional
-(void)clickScreenShare:(ERTCShareTipView *)tipView;
-(void)clickPhotoShare:(ERTCShareTipView *)tipView;
-(void)clickWhiteBoardShare:(ERTCShareTipView *)tipView;

@end

/** 共享能力集 */
typedef NS_ENUM(NSInteger, ERTCShareTipViewAbility) {
  /** 屏幕共享 */
    ERTCShareTipViewAbility_Screen = 1,

  /** 照片 */
    ERTCShareTipViewAbility_Photo = 1 << 1,

  /** 白板 */
    ERTCShareTipViewAbility_WhiteBoard = 1 << 2,
};

@interface ERTCShareTipView : UIView
-(instancetype)initWithAbility:(int)ability;
@property (nonatomic, weak) id<ERTCShareTipViewProtocol> delegate;

-(void)cancelShareTipView;
@end

NS_ASSUME_NONNULL_END
