AppDelegate.h 1.26 KB
//
//  AppDelegate.h
//  IVTMeLiveTwo
//
//  Created by XRG on 16/8/9.
//  Copyright © 2016年 QLQ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <TencentOpenAPI/TencentOAuth.h>
#import <TencentOpenAPI/TencentApiInterface.h>
#import "IVTKSYPushLiveShowViewController.h"
#import "IVTLivePreviewViewController.h"


@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundUpdateTask;

//qq
@property (nonatomic,strong) TencentOAuth *tencentOAuth;
@property (nonatomic,strong) NSString *tencentAccessToken;
@property (nonatomic,strong) NSString *tencentOpenId;
//微博
@property (nonatomic,strong) NSString *wbAccessToken;
@property (nonatomic,strong) NSString *wbRefreshToken;
@property (nonatomic,strong) NSString *wbCurrentUserID;
//微信
@property (nonatomic,strong) NSString *wxAccessToken;
@property (nonatomic,strong) NSString *wxOpenId;
@property (nonatomic,strong) NSString *wxRefreshToken;

@property (nonatomic) BOOL isChatting;

@property (nonatomic,weak) IVTKSYPushLiveShowViewController *startPushLiveVC;
@property (nonatomic,weak) IVTLivePreviewViewController *livePreviewVC;

+ (AppDelegate *)appDelegate;

- (void)quitAndShowLoginView;


@end