31 lines
766 B
Objective-C
31 lines
766 B
Objective-C
//
|
|
// RoomAnimationView.h
|
|
// YuMi
|
|
//
|
|
// Created by P on 2025/1/13.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "XPRoomAnimationHitView.h"
|
|
#import "RoomHostDelegate.h"
|
|
#import "RoomGuestDelegate.h"
|
|
|
|
// Banner区域枚举
|
|
typedef NS_ENUM(NSInteger, BannerZone) {
|
|
BannerZoneNone = 0, // 无效区域
|
|
BannerZoneCenter, // 中央区域(滑动手势)
|
|
BannerZoneLeft, // 左侧区域(点击透传)
|
|
BannerZoneRight // 右侧区域(点击透传)
|
|
};
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RoomAnimationView : XPRoomAnimationHitView <RoomGuestDelegate, UIGestureRecognizerDelegate>
|
|
|
|
- (instancetype)initWithHostDelegate:(id<RoomHostDelegate>)hDelegate;
|
|
- (void)resumeTimer;
|
|
- (void)removeItSelf;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|