1234567891011121314151617181920212223242526272829303132 |
- //
- // YOUPAIBBCustomSystomNotification.h
- // VQU
- //
- // Created by Elaine on 2021/10/28.
- // Copyright © 2021 MS. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "YOUPAILCVideoChatModel.h"
- typedef NS_ENUM(NSUInteger,BBCustomSystomNotificationType) {
- BBCustomSystomNotificationTypeWithCallVideo = 801, ///拨打视频
- BBCustomSystomNotificationTypeWithCancelVideo = 802, ///取消视频
- BBCustomSystomNotificationTypeWithRefuseCallVideo = 803, ///拒绝接听视频
- BBCustomSystomNotificationTypeWithAnswerCallVideo = 804, ///接听电话
- BBCustomSystomNotificationTypeWithWasInterruptedCallVideo = 805, /// 视频被中断
- BBCustomSystomNotificationTypeWithHangupCallVideo = 806, /// 视频已挂断
- BBCustomSystomNotificationTypeWithHangupMatchVVideo = 99, // 随机速配
- };
- NS_ASSUME_NONNULL_BEGIN
- @interface YOUPAIBBCustomSystomNotification : NSObject
- +(void)youpaifcustomSystomNotificationWithModel:(YOUPAILCVideoChatModel *)videoModel type:(BBCustomSystomNotificationType)type block:(void (^)(NSError *error))block;
- + (NSString *)youpaifnotificationTitleWithType:(BBCustomSystomNotificationType)type;
- @end
- NS_ASSUME_NONNULL_END
|