AppDelegate.h
1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// 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