You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.0 KiB

2 years ago
//
// BRManager.h
// tongxin
//
// Created by ecell on 2020/11/18.
// Copyright © 2020 xTT. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "VideoViewController.h"
typedef void(^CancelBlock)(void);
static bool g_isEnterRoom;
@interface BRManager : NSObject
@property (strong, nonatomic) UIViewController *gMianVC;
@property (strong, nonatomic) VideoViewController *callViewController;
@property (strong, nonatomic) DeviceVideoConfigModel *brModel;
/**
id
*/
@property(nonatomic, strong) NSString * video_id;
/**
NO
*/
@property (assign, nonatomic) BOOL isReceiveCall;
/**
0: 1:
*/
@property (assign, nonatomic) NSInteger callType;
+ (BRManager*)shared;
-(bool)initialize;
-(void)uninitialize;
-(void)login:(NSString *)bairuiId nick:(NSString *) nick;
-(BOOL)isUserLogin;
-(BOOL)queryRemoteUserOnline:(int)userId;
-(void)showCallDialog:(DeviceModel *)user userId:(int)dwUserId callback:(CancelBlock)callback;
@end