YOUPAIBBCustomSystomNotification.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // YOUPAIBBCustomSystomNotification.h
  3. // VQU
  4. //
  5. // Created by Elaine on 2021/10/28.
  6. // Copyright © 2021 MS. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "YOUPAILCVideoChatModel.h"
  10. typedef NS_ENUM(NSUInteger,BBCustomSystomNotificationType) {
  11. BBCustomSystomNotificationTypeWithCallVideo = 801, ///拨打视频
  12. BBCustomSystomNotificationTypeWithCancelVideo = 802, ///取消视频
  13. BBCustomSystomNotificationTypeWithRefuseCallVideo = 803, ///拒绝接听视频
  14. BBCustomSystomNotificationTypeWithAnswerCallVideo = 804, ///接听电话
  15. BBCustomSystomNotificationTypeWithWasInterruptedCallVideo = 805, /// 视频被中断
  16. BBCustomSystomNotificationTypeWithHangupCallVideo = 806, /// 视频已挂断
  17. BBCustomSystomNotificationTypeWithHangupMatchVVideo = 99, // 随机速配
  18. };
  19. NS_ASSUME_NONNULL_BEGIN
  20. @interface YOUPAIBBCustomSystomNotification : NSObject
  21. +(void)youpaifcustomSystomNotificationWithModel:(YOUPAILCVideoChatModel *)videoModel type:(BBCustomSystomNotificationType)type block:(void (^)(NSError *error))block;
  22. + (NSString *)youpaifnotificationTitleWithType:(BBCustomSystomNotificationType)type;
  23. @end
  24. NS_ASSUME_NONNULL_END